mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-22 11:16:06 +08:00
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
This commit is contained in:
committed by
Facebook Github Bot
parent
f88c9d6382
commit
a1c479fb3b
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user