Skip to content

Commit

Permalink
Declare HMRClient module to fix Flow issues in OSS
Browse files Browse the repository at this point in the history
Summary: Closes #17881

Differential Revision: D6918186

Pulled By: hramos

fbshipit-source-id: ebcdbde1623eab497062fb50bccb393734b3578f
  • Loading branch information
hramos authored and facebook-github-bot committed Feb 7, 2018
1 parent f88c9d6 commit a1c479f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flow-github/metro.js
Expand Up @@ -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;
}

0 comments on commit a1c479f

Please sign in to comment.