mirror of
https://github.com/react/react-native.git
synced 2026-09-28 05:13:06 +08:00
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