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.153.0

Compare
Choose a tag to compare
Loading
@facebook-github-botfacebook-github-bot released this 10 Jun 21:35
· 7379 commits to main since this release

Likely to cause new Flow errors:

New Features:

  • You can require an exhaustive check of an enum in a switch statement that includes a default branch. This is enabled with the comment// flowlint-next-line require-explicit-enum-switch-cases:error.
  • Autocomplete for object keys.
  • Introduce aflow fix command to apply autofixes from the command line to a list of files.
  • Enable a new check mode that uses significantly less RAM for large projects.

Notable bug fixes:

  • Fix a bug that allowed nested anonymous functions inside a default export.
  • Using the--ignore-version flag also prevents Flow from crashing when an invalid option is in the.flowconfig.

Library Definitions:

  • Support theoptions parameter forrequire.resolve. (thanks@skeggse)
  • Return a TypedArray instead ofvoid from TypedArraysort function. (thanks@goodmind)
  • Return aDOMStringList instead of a string array fromIDBDatabase.objectStoreNames. (thanks@bnelo12)

Misc:

  • Add--binary to theflow version command to see the path to the current binary.
  • Prevent the LSP from exiting when an invalid option is in the.flowconfig.
  • Autofix for amethod-unbinding error to replace the method with an arrow function.
  • Autofix for aclass-object-subtyping error to replace the object type with an interface.
Assets9
Loading
thecotne, mrtnzlml, valscion, stefanDeveloper, yanndinendal, cbyad, niexq, pascalduez, AmirhBeigi, w01fgang, and 8 more reacted with thumbs up emoji
18 people reacted

[8]ページ先頭

©2009-2025 Movatter.jp