flow-github/metro.js: Add missing module declaration (#21555)

Summary:
This pull request adds a missing module stub for `metro/src/JSTransformer/worker` to `flow-github/metro.js` that allows Flow checking to pass again.
Pull Request resolved: https://github.com/facebook/react-native/pull/21555

Differential Revision: D10242421

Pulled By: hramos

fbshipit-source-id: 1b46ee0ec080e4d573f9c829ed7c5828a7f37d9f
This commit is contained in:
empyrical 2018-10-08 12:07:58 -07:00 committed by Facebook Github Bot
parent b7526b2095
commit 9955aaf6be
1 changed files with 4 additions and 0 deletions

View File

@ -67,3 +67,7 @@ declare module 'metro/src/Server' {
declare module 'metro/src/ModuleGraph/worker/collectDependencies' { declare module 'metro/src/ModuleGraph/worker/collectDependencies' {
declare module.exports: any; declare module.exports: any;
} }
declare module 'metro/src/JSTransformer/worker' {
declare module.exports: any;
}