Skip to content

Navigation Menu

Sign in
Sign up

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

Closed
robhogan wants to merge 1 commit into
main from
pr1908
Closed

Bump flow-{api-translator,eslint,parser} to 0.331.0 #1909
robhogan wants to merge 1 commit into
main from
pr1908

Conversation

@robhogan

@robhogan robhogan commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

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`

Test Plan:

yarn typecheck
yarn lint
yarn build
yarn run verify-api-snapshots

All pass.

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`
```
Test Plan:
```
yarn typecheck
yarn lint
yarn build
yarn run verify-api-snapshots
```
All pass.
@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
robhogan marked this pull request as ready for review September 7, 2026 13:23
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 7, 2026

meta-codesync Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

@javache has imported this pull request. If you are a Meta employee, you can view this in D119090467.

meta-codesync Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

@javache merged this pull request in f1530c0.

meta-codesync Bot pushed a commit to react/react-native that referenced this pull request Sep 8, 2026
Summary:
Pull Request resolved: #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
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 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 deleted the pr1908 branch September 8, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /