Skip to content

[flow] v0.296.0

Choose a tag to compare

@facebook-github-bot facebook-github-bot released this 09 Jan 23:16
· 10 commits to main since this release

Declarations:

  • The declare keyword can be omitted for declare const/let/var variable: type and declare component under a declaration context (libdef file, .js.flow file, declare module, declare namespace)
  • declare component now requires the rest props to be named - matching normal component declarations

Misc:

  • The Omit<O, K> utility type will no longer enforce that the provided keys K need to be part of O