Add open source Flow declaration for Metro module
Summary: Fix Flow failure by adding a declaration to the Flow config used in open source. This did not get caught internally because we use a different Flow config. Release Notes ------------- [INTERNAL] [MINOR] [Flow] - Fix Flow config. Reviewed By: rafeca Differential Revision: D8257641 fbshipit-source-id: 3f4b2cbe622b2e76aa018e9369216a6b9ac25f47
This commit is contained in:
parent
a8b74576da
commit
1853e15190
|
@ -12,14 +12,18 @@ declare module 'metro' {
|
|||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'metro/src/lib/TerminalReporter' {
|
||||
declare module 'metro/src/HmrServer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'metro/src/HmrServer' {
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue