Permalink
Browse files

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
  • Loading branch information...
hramos authored and facebook-github-bot committed Jun 6, 2018
1 parent a8b7457 commit 1853e1519030caaeeb7f31017d98823aa5696daf
Showing with 6 additions and 2 deletions.
  1. +6 −2 flow-github/metro.js
View
@@ -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;
}

0 comments on commit 1853e15

Please sign in to comment.