Skip to content

Bump flow-{api-translator,eslint,parser} to 0.331.0 - #58391

Closed
javache wants to merge 1 commit into
react:mainfrom
javache:export-D119090467
Closed

Bump flow-{api-translator,eslint,parser} to 0.331.0#58391
javache wants to merge 1 commit into
react:mainfrom
javache:export-D119090467

Conversation

@javache

@javache javache commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary:
Regenerate API snapshots after the bump. flow-api-translator picks up the fix in facebook/flow#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:

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

X-link: react/metro#1909

Differential Revision: D119090467

Pulled By: javache

Summary:
Regenerate API snapshots after the bump. `flow-api-translator` picks up the fix in facebook/flow#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:
```
 - **[Types]**: `DependencyGraph#end` and `MetroServer#end` are now correctly declared as returning `Promise<void>` rather than `void`
```

X-link: react/metro#1909

Differential Revision: D119090467

Pulled By: javache
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 7, 2026
@facebook-github-tools facebook-github-tools Bot added p: Facebook Partner: Facebook Partner labels Sep 7, 2026
@meta-codesync

meta-codesync Bot commented Sep 7, 2026

Copy link
Copy Markdown

@javache has exported this pull request. If you are a Meta employee, you can view the originating Diff in D119090467.

meta-codesync Bot pushed a commit to react/metro that referenced this pull request Sep 8, 2026
Summary:
X-link: react/react-native#58391

Regenerate API snapshots after the bump. `flow-api-translator` picks up the fix in facebook/flow#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`

Pull Request resolved: #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
@meta-codesync meta-codesync Bot closed this in 9a49fc2 Sep 8, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Sep 8, 2026
@meta-codesync

meta-codesync Bot commented Sep 8, 2026

Copy link
Copy Markdown

@javache merged this pull request in 9a49fc2.

meta-codesync Bot pushed a commit to facebook/relay that referenced this pull request Sep 8, 2026
Summary:
X-link: react/react-native#58391

Regenerate API snapshots after the bump. `flow-api-translator` picks up the fix in facebook/flow#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: react/metro#1909

Reviewed By: mweststrate

Differential Revision: D119090467

Pulled By: javache

fbshipit-source-id: 21b65f90ed511e0cb035917eaf1b0ca399ece855
@javache
javache deleted the export-D119090467 branch September 8, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants