I know that I can run JavaScript by running node through the mand line, but is there a way to play around with TypeScript on the mand line? Or must I use a text editor?
I know that I can run JavaScript by running node through the mand line, but is there a way to play around with TypeScript on the mand line? Or must I use a text editor?
Share Improve this question edited Mar 28, 2022 at 19:51 halfer 20.4k19 gold badges109 silver badges202 bronze badges asked Mar 26, 2022 at 23:46 Dylan L.Dylan L. 1,3173 gold badges21 silver badges42 bronze badges 1- 1 See npmjs./package/ts-node – elclanrs Commented Mar 26, 2022 at 23:50
1 Answer
Reset to default 6If you install ts-node for a project, you can then run it directly by typing in npx ts-node
. It works similarly to Node's REPL.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745043233a4607936.html
评论列表(0条)