4 ms·
My answer wasn’t explicit enough. To clarify, I meant as a user of deno you do not need to perform any separate transpilation or build step. The runtime can rea
by koprulusector 5y ago
My answer wasn’t explicit enough. To clarify, I meant as a user of deno you do not need to perform any separate transpilation or build step. The runtime can read and execute typescript natively (again, from user perspective).
>Deno can run JavaScript or TypeScript out of the box with no additional tools or config required.
- https://deno.land/manual@v1.15.3/examples/hello_world https://deno.land/manual@v1.15.3/examples/hello_world
>Deno is a runtime for JavaScript/TypeScript which tries to be web compatible and use modern features wherever possible.
- https://deno.land/manual@v1.15.3/getting_started/first_steps https://deno.land/manual@v1.15.3/getting_started/first_steps
You can run any of their examples to see that `deno run` commands can execute typescript without requiring a separate transpilation step
- capableweb 5y agoYeah, I guess if someone asks "does Deno translate TS to JS before executing it?" and someone answers "Yes, it could always do this", it's not hard for the answer to be understood as "Deno doesn't translate TS before running it". No hard feelings though, context is important and many of us miss it at times :)