How to use an online TypeScript compiler
- Write TypeScript in the editor, or pick an example.
- Press Run (or Ctrl+Enter).
- The types are removed and the code runs as JavaScript; the output shows on the right.
Learning to code? The free courses in the Learn section go from beginner to expert, with tasks checked in this same editor. Other languages: all languages, Python, JavaScript, SQL, HTML, CSS & JS.