From a1c479fb3be674511131b46f856bc9b197a38cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Tue, 6 Feb 2018 15:58:46 -0800 Subject: [PATCH] Declare HMRClient module to fix Flow issues in OSS Summary: Closes https://github.com/facebook/react-native/pull/17881 Differential Revision: D6918186 Pulled By: hramos fbshipit-source-id: ebcdbde1623eab497062fb50bccb393734b3578f --- flow-github/metro.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flow-github/metro.js b/flow-github/metro.js index 8c81bc32a9562c..12f50d287f61ef 100644 --- a/flow-github/metro.js +++ b/flow-github/metro.js @@ -19,4 +19,8 @@ declare module 'metro/src/lib/TerminalReporter' { declare module 'metro/src/HmrServer' { declare module.exports: any; +} + +declare module 'metro/src/lib/bundle-modules/HMRClient' { + declare module.exports: any; } \ No newline at end of file