Skip to content
cansukaluc.dev

Lab · Compiler

TypeScript → JavaScript

The real TypeScript compiler, running in your browser inside a Web Worker — so typing stays smooth while compilation happens off the main thread. Switch the target to ES5 and watch modern syntax down-level: async/await becomes generators, private fields become WeakMaps, arrow functions become plain functions.

demonstrates: compiler internals · Web Workers · performance awareness · TypeScript

target

TypeScript

Compiled JavaScript (ES5)

// output appears here

✓ No diagnostics