flowgen icon indicating copy to clipboard operation
flowgen copied to clipboard

Missing features or transforms

Open goodmind opened this issue 7 years ago • 1 comments

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

  1. Unexpected use of this type. This happens because Flow doesn't understand this outside of class declarations

    Example:

    declare interface A {
      foo(): this;
      bar(): this;
    }
    
  2. 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

goodmind avatar Mar 11 '19 15:03 goodmind

Flow now supports type parameter defaults in generic functions! https://github.com/facebook/flow/commit/c18ee0d8ee7999ef65ee21d0113b7351c5dc1e15

goodmind avatar Jun 06 '19 08:06 goodmind