-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
allowImportingTsExtensions not working with transpileOnly #1981
Comments
Should be fixed by microsoft/TypeScript#53599 |
Yep, let's wait for TS 5.1 and verify. Similar but unrelated? #1987 |
Yes, it’s the same, and both will be fixed in a patch release 5.0.4 ~this week. |
Yep, it's fixed in 5.0.4 which is now out, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search Terms
transpileOnly, allowImportingTsExtensions, typescript 5
Possibly related: #1978
Expected Behavior
allowImportingTsExtensions
working withtranspileOnly
Actual Behavior
Should work (I think?)
Steps to reproduce the problem
NODE_OPTIONS="--loader ts-node/esm" node index.ts
NODE_OPTIONS="--loader ts-node/esm/transpile-only" node index.ts
Minimal reproduction
https://github.com/lmiller1990/ts-node-transpile-error
Specifications
ts-node v10.9.1
node v16.19.1
compiler v5.0.2
Operating system and version: macos ventura
If Windows, are you using WSL or WSL2?:
The text was updated successfully, but these errors were encountered: