How to run TypeScript files from command line?

前端 未结 13 1415
死守一世寂寞
死守一世寂寞 2020-11-27 10:13

I\'m having a surprisingly hard time finding an answer to this. With plain Node.JS, you can run any js file with node path/to/file.js, with CoffeeScript it\'s <

相关标签:
13条回答
  • 2020-11-27 10:47

    This answer may be premature, but deno supports running both TS and JS out of the box.

    Based on your development environment, moving to Deno (and learning about it) might be too much, but hopefully this answer helps someone in the future.

    0 讨论(0)
提交回复
热议问题