Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

v0.260.0

Compare
Choose a tag to compare
Loading
@facebook-github-botfacebook-github-bot released this 10 Feb 23:32
· 646 commits to main since this release

New Features:

  • You may now write object literals with Flow Enum values as computed keys. This will result in a dictionary type, keyed by the Flow Enum type. Note that all possible Flow Enum representation types are valid object keys, so we just support all of them.
  • You can usenumber typed keys (rather than just number literals) to create objects, these will be treated as dictionaries{[number]: T}

Notable bug fixes:

  • Fixed soundness hole in subtyping of type guard functions (e.g.try-Flow)
  • Fixed a bug that caused spurious errors when type guards were used in private methods (e.g.try-Flow)
  • Flow will no longer invalidate refinements made before the loop for const-like variables within a loop (example)

IDE:

  • For identifiers of array patterns bind to a require call, go-to-definition will jump to itself.

Library Definitions:

  • The internal typeReact$FragmentType is removed from Flow's builtin global type definitions.
Assets10
Loading

[8]ページ先頭

©2009-2025 Movatter.jp