DEV Community

Discussion on: TypeScript vs JavaScript

Collapse
 
rhymes profile image
rhymes

Nothing is certain but at this stage it seems a bit unlikely. Don't know about the far future :)

Browsers have virtual machines that are highly optimized towards JS and, increasingly, WebAssembly. TypeScript transcompiles to JS so there's no advantage in adding such tooling inside the browser.

If your target is JS you can keep using TS, if your target is WebAssembly then you can use tools like AssemblyScript, which is basically a reduced version of TS, or any other language that compiles to WASM.