bitcoinjs / bitcoinjs-message

MIT License
129 stars 79 forks source link

Could not find a declaration file for module 'bitcoinjs-message' #27

Closed felipegontijo closed 4 years ago

felipegontijo commented 4 years ago

Apparently there is no declaration for the module. This message is accused by const bitcoinMessage = require('bitcoinjs-message')

After running npm install @types/bitcoinjs-message I get the following error:

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fbitcoinjs-message - Not found
npm ERR! 404 
npm ERR! 404  '@types/bitcoinjs-message@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
junderw commented 4 years ago

Typescript types are not provided.

you can still use it, but everything will be the "any" type.