TypeScript Playground

Write, compile, and run TypeScript code in your browser

TypeScript Code
Output
Click "Run Code" to see the output here...

💡 Tips

  • Use console.log() to print output
  • The editor has full TypeScript support with IntelliSense
  • Load templates to get started quickly
  • Press Ctrl/Cmd + S to run code
  • Code is automatically saved in your browser