You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is expected behavior based on your input—as there's nothing describing that the input is TypeScript—, but looks like tsx will need to add support for --input-type=ts: https://nodejs.org/api/packages.html#--input-type-flag
Acknowledgements
Minimal reproduction URL
https://stackblitz.com/edit/node-xghdes?file=index.ts
Version
v4.7.2
Node.js version
v18.18.2
Package manager
yarn
Operating system
macOS
Problem & expected behavior (under 200 words)
All of the following failed with a
SyntaxError
:All are valid TS AFAIK
Contributions
The text was updated successfully, but these errors were encountered: