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

How to use it with import? #8

Open
totszwai opened this issue Oct 6, 2021 · 1 comment
Open

How to use it with import? #8

totszwai opened this issue Oct 6, 2021 · 1 comment

Comments

@totszwai
Copy link

totszwai commented Oct 6, 2021

Getting this error when trying to import it rather than require it.

Could not find a declaration file for module 'json-stringify-extended'. '/projects/blah/node_modules/json-stringify-extended/src/main.js' implicitly has an 'any' type.
Try npm i --save-dev @types/json-stringify-extended if it exists or add a new declaration (.d.ts) file containing declare module 'json-stringify-extended';ts(7016)

@simone-sanfratello
Copy link
Owner

sorry, esm module is not supported

would you like to add it?

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