fiatjaf / jq-web

jq in the browser with emscripten.

Home Page:https://jq.alhur.es/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include TypeScript types

fregante opened this issue · comments

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?

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