mirror of
https://github.com/status-im/react-native.git
synced 2025-01-12 18:44:25 +00:00
9176fc00b5
Summary: We ignore some `metro` flowtypes, which made `flow check` fail on `metro-config`. I now also added the `metro` stubs needed by `metro-config` to make `flow check` pass. Closes https://github.com/facebook/react-native/issues/20431 Pull Request resolved: https://github.com/facebook/react-native/pull/20429 Reviewed By: hramos Differential Revision: D9036903 Pulled By: CompuIves fbshipit-source-id: 6e348e929b7c36520787bb860f5a18aa588455c3
66 lines
1.3 KiB
JavaScript
66 lines
1.3 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/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;
|
|
}
|