Skip to content

Commit bc37bc6

Browse files
empyricalfacebook-github-bot
authored andcommitted
Add DeltaBundler's Flow types to flow config (facebook#20953)
Summary: This PR adds a declaration to `flow-github/metro.js` that fixes this error in `ci/circleci: analyze`: ``` Error ----------------------------------------------------- node_modules/metro-config/src/configTypes.flow.js.flow:18:27 Cannot resolve module `metro/src/DeltaBundler/types.flow.js`. 18| import type {Module} from 'metro/src/DeltaBundler/types.flow.js'; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` Pull Request resolved: facebook#20953 Differential Revision: D9642861 Pulled By: hramos fbshipit-source-id: c73c546b1645a3df9bb5f541764135f8a0c76578
1 parent 8eac58f commit bc37bc6

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
@@ -36,6 +36,10 @@ declare module 'metro/src/DeltaBundler' {
3636
declare module.exports: any;
3737
}
3838

39+
declare module 'metro/src/DeltaBundler/types.flow.js' {
40+
declare module.exports: any;
41+
}
42+
3943
declare module 'metro/src/ModuleGraph/types.flow.js' {
4044
declare module.exports: any;
4145
}

0 commit comments

Comments
 (0)