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

Include TypeScript types #22

Open
fregante opened this issue Jan 4, 2022 · 1 comment
Open

Include TypeScript types #22

fregante opened this issue Jan 4, 2022 · 1 comment

Comments

@fregante
Copy link

fregante commented Jan 4, 2022

When importing jq-web in a TypeScript project I get this error, which I then have to ignore:

Could not find a declaration file for module 'jq-web'. ./node_modules/jq-web/jq.asm.bundle.min.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/jq-web` if it exists or add a new declaration (.d.ts) file containing `declare module 'jq-web';`ts(7016)

Is it possible to add some basic types to this package?

@fiatjaf
Copy link
Owner

fiatjaf commented Jan 4, 2022

Yes, please do it and I'll merge your PR!

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