Skip to content

[flow] v0.312.0

Choose a tag to compare

@facebook-github-tools facebook-github-tools released this 29 Apr 19:26
· 2612 commits to main since this release

Likely to cause new Flow errors:

  • Flow will now error on variance modifiers (+T, -T, in T, out T) on interface method type parameters, matching the existing rejection on class methods and function types

New Features:

  • Declaration merging between declare class and interface of the same name in the same scope.
  • Flow now separates value namespace and type namespace, so code like const A = 1; interface A {} is now accepted.