We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be great if this project included types to improve its compatibility with typed languages such as TypeScript.
The text was updated successfully, but these errors were encountered:
Yes such PR would be very appreciated 👍
Sorry, something went wrong.
I went to have a look at this but it wasn't clear to me how this is being deployed to npmjs, so I could't modify the process to include the types.
What needs to be done is
npx typescript 'src/index.js' --declaration --allowJs --emitDeclarationOnly --outDir dist
as part of the build for deployment.
Then add the following to package.json
package.json
"types": "dist/index.d.ts",
No branches or pull requests
It would be great if this project included types to improve its compatibility with typed languages such as TypeScript.
The text was updated successfully, but these errors were encountered: