4 ms·
> Yes, but I'd argue that is an implementation detail. You can directly run a TypeScript file like this `deno run helloWorld.ts`. Why yes, you can run directly
by fivea 5y ago
> Yes, but I'd argue that is an implementation detail. You can directly run a TypeScript file like this `deno run helloWorld.ts`.
Why yes, you can run directly Typescript code in Node (well, at least just as direct as Deno, as it transpiles TS to JS) with the likes of ts-node.
https://www.npmjs.com/package/ts-node https://www.npmjs.com/package/ts-node
- nitsky 5y agoThen it would be fair to say ts-node is a typescript runtime, while node is a javascript runtime.