We need an interpreter or engine that natively supports ts
Something like Deno?
@j-oliveras no,when deno is running, in addition to starting a v8,and you need to start a TS compiler.Escape ts to js.So, we need a natively supported TS engine to avoid that.sorry for my english
@DricHao you are looking for https://github.com/TypeStrong/ts-node. Of course, if you mean server-side. If you mean frontend, then it's not possible
Hard to believe it, but it's been proposed before #10380
@anurbol oh thank you guy!
We need typescript support directly in browser to avoid the need to compile typescript in js before use....
@mcarbonneaux we'd need a time machine for that, I guess :)
why not ? why developp this type of language and not integrate it in browser ? why not update Chakra engine to support typescript ?
some are trying to do... https://github.com/denoland/deno
I also agree that typescript should eventually replace JavaScript
Most helpful comment
@DricHao you are looking for https://github.com/TypeStrong/ts-node. Of course, if you mean server-side. If you mean frontend, then it's not possible