-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.
Description
I would like Node.js to support the following user experience
$ node script.ts
Typescript support is missing, install it with:
npm i --location=global typescript-node-core
$ npm i --location=global typescript-node-core
...
$ node script.ts
"Hello World"(I picked the typescript-node-core name at random, I would be extremely happy if that could be ts-node)
Note that script.ts could evaluate to either cjs or mjs depending on the tsconfig.json file.
Originally posted by @mcollina in #43408 (comment)
Why vendoring is not an option?
- TypeScript changes too fast and they do not follow semantic versioning, nor do they provide any long-term support.
- We will never be able to pick a default
tsconfiggiven the 100+ options.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.