I'm working on some Deno projects and would like to be able to compile TypeScript to JavaScript to run in the browser (since TS is not yet supported). When I worked with NodeJS I installed the tsc
compiler using npm but it seems overkill to install a second JavaScript runtime (NodeJS) just to get access to tsc
. Does Deno have a compiler built-in?
I'm running Ubuntu server.
question from:
https://stackoverflow.com/questions/66067456/using-deno-to-compile-typescript-to-javascript 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…