Re:Deno 1.6 supports compiling TypeScript to a single execut...
by mark_and_sweep on Thursday December 10, 2020 @07:35AM
(#25373010)
I have no data to prove this, but I feel like TS is far more widely used than CoffeeScript and Dart have ever been.
Support for Dart in Chrome was added before Dart was popular (if you can even consider it popular at all). Since TypeScript is already popular now, I think if Chrome added support for stripping the types and running TS code as JS, most devs would welcome that.
It has already been tried with Dart. Dart was made because JS lacked a type system, preventing further optimisations. Support for Dart was added in Chrome.
Another popular JS transpiler is CoffeeScript, most of it's syntax is now in JavaScript.