Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Could not find a declaration file for module 'browserify-bignum'. #912

Closed
shuse2 opened this issue Nov 27, 2018 · 0 comments
Closed

Could not find a declaration file for module 'browserify-bignum'. #912

shuse2 opened this issue Nov 27, 2018 · 0 comments

Comments

@shuse2
Copy link
Contributor

shuse2 commented Nov 27, 2018

Expected behavior

External user should be able to build using typescript.

Actual behavior

../lisk-elements/packages/lisk-transactions/dist-node/utils/validation/validation.d.ts:1:20 - error TS7016: Could not find a declaration file for module 'browserify-bignum'. '/Users/shuse2/Documents/10_lisk/lisk-elements/packages/lisk-transactions/node_modules/browserify-bignum/bignumber.js' implicitly has an 'any' type.
  Try `npm install @types/browserify-bignum` if it exists or add a new declaration (.d.ts) file containing `declare module 'browserify-bignum';`

Steps to reproduce

Try to use and build @liskhq/lisk-transactions from TypeScript environment

Which version(s) does this affect? (Environment, OS, etc...)

2.0-

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant