-
Notifications
You must be signed in to change notification settings - Fork 184
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
[Typescript] Could not find declaration file for module 'spacetime' #356
Comments
hey Abe, I may need more information about your build setup. |
Hey , is there any solution for this ? |
I'm having the same issue. I solved it with a workaround. I created a spacetime.d.ts in my src directory, and I simply added this line: declare module "spacetime"; |
hey @jecraig - you know anything about |
I don't know of any issues, but I'll take a look |
@spencermountain Ok, so I don't have a fix for this, but it looks like it's just an issue with our package.json. Here's a demo that reproduces the issue. https://github.com/jecraig/Spacetime356Test I changed the package.json to this and it worked for the project, but your rollup failed to run. { I'll try playing with it more after the weekend, but this is what I've discovered so far. |
should be fixed now in |
Could not find declaration file for module 'spacetime' when using
moduleResolution: 'NodeNext'
or "Node16".TS version: 4.9.3
Spacetime version: 7.2.0
The text was updated successfully, but these errors were encountered: