flowgen
flowgen copied to clipboard
Missing features or transforms
This issue would track what I can find is missing from converter when you typecheck resulting Flow files.
This list will be updated when I find something new
-
Unexpected use of
thistype. This happens because Flow doesn't understandthisoutside of class declarationsExample:
declare interface A { foo(): this; bar(): this; } -
Illegal name. or Unsupported key in object type. when numbers used as keys in interfaces or types.
type Foo = { 0: "ACCESS"; } interface IFoo { 0: "ACCESS"; }Flow PR: https://github.com/facebook/flow/pull/7593
Flow now supports type parameter defaults in generic functions! https://github.com/facebook/flow/commit/c18ee0d8ee7999ef65ee21d0113b7351c5dc1e15