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
For node16 / nodenext support, this should append .js to the import statement.
So:
tsTypes: {} as import("./index.typegen").Typegen0,
should become:
tsTypes: {} as import("./index.typegen.js").Typegen0,
I believe this would be backwards compatible on non-node16 as well, so should be safe to change.
The text was updated successfully, but these errors were encountered:
useDeclarationFileForTypegenData exists for that reason: https://github.com/statelyai/xstate-tools/releases/tag/stately-vscode%401.14.0
useDeclarationFileForTypegenData
Sorry, something went wrong.
That appears to only be available in the vscode extension and not the CLI unfortunately.
Edit: Put in a PR that adds this to CLI.
Successfully merging a pull request may close this issue.
For node16 / nodenext support, this should append .js to the import statement.
So:
should become:
I believe this would be backwards compatible on non-node16 as well, so should be safe to change.
The text was updated successfully, but these errors were encountered: