From 9955aaf6be4ca742801ae69893ef1b7e5c4302ab Mon Sep 17 00:00:00 2001 From: empyrical Date: Mon, 8 Oct 2018 12:07:58 -0700 Subject: [PATCH] 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 --- flow-github/metro.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flow-github/metro.js b/flow-github/metro.js index fadb627c9..88ef8feae 100644 --- a/flow-github/metro.js +++ b/flow-github/metro.js @@ -67,3 +67,7 @@ declare module 'metro/src/Server' { declare module 'metro/src/ModuleGraph/worker/collectDependencies' { declare module.exports: any; } + +declare module 'metro/src/JSTransformer/worker' { + declare module.exports: any; +}