Adding Flow definitions link

This commit is contained in:
Karel Bílek 2016-07-22 23:58:46 +02:00 committed by GitHub
parent dc8d5069cb
commit 66baeb088f

View file

@ -82,6 +82,16 @@ Example:
uglifyjs ... --mangle --reserved 'Array,BigInteger,Boolean,Buffer,ECPair,Function,Number,Point'
```
### Flow
Definition for [Flow typechecker](https://flowtype.org/) are available in flow-typed repository.
[You can either download them direcly](https://github.com/flowtype/flow-typed/blob/master/definitions/npm/bitcoinjs-lib_v2.x.x/flow_%3E%3Dv0.17.x/bitcoinjs-lib_v2.x.x.js) from the repo, or with the flow-typed CLI
# npm install -g flow-typed
$ flow-typed install -f 0.27 bitcoinjs-lib@2.2.0 # 0.27 for flow version, 2.2.0 for bitcoinjs-lib version
The definition should be complete and cover all the functions and classes in the API.
## Examples