Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'big.js' or its corresponding type declarations #19

Closed
okovpashko opened this issue Dec 10, 2021 · 2 comments
Closed

Comments

@okovpashko
Copy link

After upgrading cashify to v3 I start getting the following build error in my TypeScript project:

node_modules/cashify/dist/lib/options.d.ts:1:37 - error TS2307: Cannot find module 'big.js' or its corresponding type declarations.

1 import type { BigSource, Big } from 'big.js';

Seems like it's because big.js is placed into the devDependencies section and those dependencies are not installed when the library is installed to another project.

Can we move big.js and @types/big.js to the dependencies section?

@xxczaki
Copy link
Member

xxczaki commented Dec 10, 2021

Thanks for catching that! I just release 3.0.1 with a fix 😄

@xxczaki xxczaki closed this as completed Dec 10, 2021
@okovpashko
Copy link
Author

Wow! Thank you for such a quick reaction!

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

No branches or pull requests

2 participants