Closed kriszyp closed 7 years ago
Hi, sorry for taking so long to respond to this, this project is now deprecated in favour of https://codemix.github.io/flow-runtime which aims for full compatibility with Flow.
I checked and babel-plugin-flow-runtime
does not have this particular bug.
Optional types should allow null as a value, according to Flowtype and TypeScript. For example, this should be allowed: