Files
Rob Hogan 9a49fc2a99 Bump flow-{api-translator,eslint,parser} to 0.331.0 (#58391)
Summary:
Pull Request resolved: https://github.com/react/react-native/pull/58391

Regenerate API snapshots after the bump. `flow-api-translator` picks up the fix in https://github.com/facebook/flow/pull/9486, which stops treating `async` functions with no explicit return annotation as `void` — updating `DependencyGraph#end` and `MetroServer#end` to their correct `Promise<void>` return type in `packages/metro/API.md`.

Changelog: [Internal]

Changelog: **[Types]**: `DependencyGraph#end` and `MetroServer#end` are now correctly declared as returning `Promise<void>` rather than `void`

X-link: https://github.com/react/metro/pull/1909

Test Plan:
```
yarn typecheck
yarn lint
yarn build
yarn run verify-api-snapshots
```
All pass.

Reviewed By: mweststrate

Differential Revision: D119090467

Pulled By: javache

fbshipit-source-id: 21b65f90ed511e0cb035917eaf1b0ca399ece855
2026-09-08 07:17:37 -07:00
..

@react-native/codegen

npm npm downloads

Code generation tools for React Native. Parses TypeScript and Flow NativeModule and Component specs and generates the native binding code used by the New Architecture.