@anvilabs/flow-libdefs
v1.2.8
Published
Anvilabs' custom libdefs for Flow
Downloads
18
Maintainers
Readme
@anvilabs/flow-libdefs
Incomplete flow library interface definitions we use in our projects.
Installation
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
...
Contributing
Pull requests for existing interfaces are welcome. If you plan on adding a new one, please contribute to https://github.com/flowtype/flow-typed.
License
MIT License © Anvilabs LLC