Skip to content

Commit a1c479f

Browse files
hramosfacebook-github-bot
authored andcommitted
Declare HMRClient module to fix Flow issues in OSS
Summary: Closes #17881 Differential Revision: D6918186 Pulled By: hramos fbshipit-source-id: ebcdbde1623eab497062fb50bccb393734b3578f
1 parent f88c9d6 commit a1c479f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flow-github/metro.js

+4
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)