Skip to content

Commit 15a183c

Browse files
committed
update flow config to declare react-native imports
1 parent 08e0ead commit 15a183c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
node_modules/fbjs/lib
7878

7979
[libs]
80-
js/flow-lib.js
80+
lib/flow.js
8181
node_modules/react-native/Libraries/react-native/react-native-interface.js
8282
node_modules/react-native/flow
8383
node_modules/fbjs/flow/lib

lib/flow.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
declare module 'react-native' {
2+
// noinspection ES6ConvertVarToLetConst
3+
declare var exports: any;
4+
}

0 commit comments

Comments
 (0)