-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Unable to compile TypeScript file that imports the module due to missing/ incorrect type #23
Comments
I replicated the code with all the latest versions of the dependencies and typescript 4.5.4 and have no issue. I got a feeling that there is some kind of module resolution problem going on. Can you try running |
I removed that line and published a new package. It should work now. |
@timlrx I think you haven't published a new version because that line was removed after v1.2.0. |
It was published on npm. Also published the release on Github now. |
Problem
This is the error message when compiling TypeScript file that imports the module.
Reduced test case
This is a reduced test case written in TypeScript
Expected behavior
TypeScript file that imports the module should compile successfully without any typing issue
Actual behavior
TypeScript file fails to compile due to missing/ incorrect type
Other information
The text was updated successfully, but these errors were encountered: