Incomplete flow library interface definitions we use in our projects.
First, install the package by running:
$ yarn add @anvilabs/flow-libdefs --dev
# or
$ npm install @anvilabs/flow-libdefs --save-dev
Then add the following to your .flowconfig
:
...
[libs]
node_modules/@anvilabs/flow-libdefs/definitions/
...
Alternatively, add definitions for each library separately:
...
[libs]
node_modules/@anvilabs/flow-libdefs/definitions/lodash.js
node_modules/@anvilabs/flow-libdefs/definitions/recompact.js
...
Pull requests for existing interfaces are welcome. If you plan on adding a new one, please contribute to https://github.com/flowtype/flow-typed.
MIT License © Anvilabs LLC