Skip to content

Commit

Permalink
Add Flow libdef (react-navigation#3391)
Browse files Browse the repository at this point in the history
* Add Flow libdef

* Move libdef to flow folder in root

* Update libdef with some refinements discovered while writing test

Mostly refining navigator config types. In the past when we tried it we got in-repo Flow errors. With a libdef we can now assert it as true!

* Get rid of all imports in libdef and refine some types
  • Loading branch information
Ashoat authored and sourcecode911 committed Mar 9, 2020
1 parent cf2e749 commit db8317c
Show file tree
Hide file tree
Showing 6 changed files with 1,109 additions and 93,331 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
coverage
flow
node_modules
lib*
build
Expand Down
1 change: 1 addition & 0 deletions examples/NavigationPlayground/.flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
node_modules/react-native/Libraries/react-native/react-native-interface.js
node_modules/react-native/flow/
node_modules/react-native/flow-github/
../../flow/

[options]
module.system=haste
Expand Down
Loading

0 comments on commit db8317c

Please sign in to comment.