Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing features or transforms #79

Open
goodmind opened this issue Mar 11, 2019 · 1 comment
Open

Missing features or transforms #79

goodmind opened this issue Mar 11, 2019 · 1 comment

Comments

@goodmind
Copy link
Contributor

goodmind commented Mar 11, 2019

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: Number literal object keys typechecking facebook/flow#7593

@goodmind
Copy link
Contributor Author

goodmind commented Jun 6, 2019

Flow now supports type parameter defaults in generic functions! facebook/flow@c18ee0d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant