Modify typescript portion of README

This commit is contained in:
junderw 2019-03-07 16:46:17 +09:00
parent 64aa7bacc3
commit 32721c723e
No known key found for this signature in database
GPG key ID: B256185D3A971908

View file

@ -78,16 +78,7 @@ If you're familiar with how to use browserify, ignore this and carry on, otherwi
**WARNING**: iOS devices have [problems](https://github.com/feross/buffer/issues/136), use atleast [buffer@5.0.5](https://github.com/feross/buffer/pull/155) or greater, and enforce the test suites (for `Buffer`, and any other dependency) pass before use.
### Typescript or VSCode users
Type declarations for Typescript [are available](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/0897921174860ec3d5318992d2323b3ae8100a68/types/bitcoinjs-lib) for version `^3.0.0` of the library.
``` bash
npm install @types/bitcoinjs-lib
```
For VSCode (and other editors), it is advised to install the type declarations, as Intellisense uses that information to help you code (autocompletion, static analysis).
**WARNING**: These Typescript definitions are not maintained by the maintainers of this repository, and are instead maintained at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped).
Please report any issues or problems there.
Type declarations for Typescript are included in this library. Normal installation should include all the needed type information.
### Flow