Skip to content

Commit 7c258d1

Browse files
hramosPlo4ox
authored and
Plo4ox
committed
Declare HMRClient module to fix Flow issues in OSS
Summary: Closes facebook#17881 Differential Revision: D6918186 Pulled By: hramos fbshipit-source-id: ebcdbde1623eab497062fb50bccb393734b3578f
1 parent 3a62d06 commit 7c258d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flow-github/metro.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ declare module 'metro/src/lib/TerminalReporter' {
1919

2020
declare module 'metro/src/HmrServer' {
2121
declare module.exports: any;
22+
}
23+
24+
declare module 'metro/src/lib/bundle-modules/HMRClient' {
25+
declare module.exports: any;
2226
}

0 commit comments

Comments
 (0)