iov-one / iov-core

Client library for secure key management and multi-blockchain communication
https://iov-one.github.io/iov-core-docs/
Apache License 2.0
198 stars 18 forks source link

Replace all untyped packages with proper types #1430

Closed webmaster128 closed 4 years ago

webmaster128 commented 4 years ago
  1. elliptic, pbkdf2, ripemd160, sha.js, unorm now use types from DefinitelyTyped
  2. bech32 now uses types shipped directly with the library

This empties the folder /custom_types which contained stubs for the previously missing types. I'd keep the folder in place to allow adding custom types when necessary:

    "target": "es2017",
    "lib": ["es2017"],
    "typeRoots": [
      "./custom_types",
      "./node_modules/@types"
    ]

But it could be removed if you wish.