-
Like, I mean, if there is no node and tsc installed, can I use deno to compile some typescripts into javascript, just in the same way |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The runtime compiler APIs provided this which is covered in the manual here: https://deno.land/[email protected]/runtime/compiler_apis. They are unstable and will be rewritten, like to land in Deno 1.7.0 via #8799. |
Beta Was this translation helpful? Give feedback.
-
@yw662 I think you are asking about type checking. compiling/transpiling TS to JS is easier than type checking(tools like swc already does this), as far as I know only tsc is able to type check TS files. there was an attempt by swc author called swt or something which i think he dropped. |
Beta Was this translation helpful? Give feedback.
The runtime compiler APIs provided this which is covered in the manual here: https://deno.land/[email protected]/runtime/compiler_apis.
They are unstable and will be rewritten, like to land in Deno 1.7.0 via #8799.