mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
d283d8f80c
Summary: This PR adds a declaration to `flow-github/metro.js` that fixes this error in `ci/circleci: analyze`: ``` Error ----------------------------------------------------- node_modules/metro-config/src/configTypes.flow.js.flow:18:27 Cannot resolve module `metro/src/DeltaBundler/types.flow.js`. 18| import type {Module} from 'metro/src/DeltaBundler/types.flow.js'; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` Pull Request resolved: https://github.com/facebook/react-native/pull/20953 Differential Revision: D9642861 Pulled By: hramos fbshipit-source-id: c73c546b1645a3df9bb5f541764135f8a0c76578
70 lines
1.4 KiB
JavaScript
70 lines
1.4 KiB
JavaScript
/**
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
* @format
|
|
*/
|
|
|
|
declare module 'metro' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/HmrServer' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/lib/attachWebsocketServer' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/lib/bundle-modules/HMRClient' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/lib/TerminalReporter' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/Bundler' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/DeltaBundler' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/DeltaBundler/types.flow.js' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/ModuleGraph/types.flow.js' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/lib/getMaxWorkers' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/lib/createModuleIdFactory' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/shared/types.flow' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/lib/reporting' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/Server' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'metro/src/ModuleGraph/worker/collectDependencies' {
|
|
declare module.exports: any;
|
|
}
|