-
Notifications
You must be signed in to change notification settings - Fork 56
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
[Bug] Module does not publish @types for TS usage #100
Comments
Hey @zmk-punchbowl, I haven't experienced that issue in the TS project I'm using this in and I'm unable to reproduce it locally. I think it's likely based on an issue with the install or tsconfig. Does the warning persist after a reload of the vscode window and/or restarting the TS server and/or running |
Yes, it does persist, and it wasn't just in VSCode, but also came up as an error when running the app itself. This is our tsconfig:
We ended up solving it by adding a |
Looks like this one is solved for now (Thanks for helping out @myleslinder!). I'm closing this issue off but if anything comes up be sure to let us know. Thanks for documenting the fix @zmk-punchbowl! |
Describe the bug
I don't know if this is a bug, feature request or a chore, but if I import this module in a TS file, I get the following error:
Trying to run that
npm
command yields:If there is another recommended way to avoid TS7016 with this package, please let me know. Thanks.
The text was updated successfully, but these errors were encountered: