mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Cleanup legacy flow types in react-native (#56300)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56300 Changelog: [Internal] Reviewed By: marcoww6 Differential Revision: D99004126 fbshipit-source-id: dfedc13c867cb768777e2ba65256a2c40ffb1d08
This commit is contained in:
1 parent
8e202de86e
commit
82bffce573
44 files changed
+106
-105
No files matched your search
@@ -27,7 +27,7 @@ export type PackageJson = {
|
||||
...
|
||||
};
|
||||
|
||||
type PackagesFilter = $ReadOnly<{
|
||||
type PackagesFilter = Readonly<{
|
||||
// Include the main react-native package
|
||||
includeReactNative: boolean,
|
||||
|
||||
@@ -135,7 +135,7 @@ async function parsePackageInfo(
|
||||
*/
|
||||
async function updatePackageJson(
|
||||
{path: packagePath, packageJson} /*: PackageInfo */,
|
||||
newPackageVersions /*: $ReadOnly<{[string]: string}> */,
|
||||
newPackageVersions /*: Readonly<{[string]: string}> */,
|
||||
) /*: Promise<void> */ {
|
||||
const packageName = packageJson.name;
|
||||
|
||||
|
||||
Reference in new issue
Block a user