Use Ctrl + Enter to run compiled JavaScript in the browser console.
Use Ctrl + S to copy code url to the clipboard.
Use Alt + Shift + F to format your code.
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
Playground allows you to compile TypeScript and see JavaScript output, as well as inspect how your code works in editors like VS Code
This version contains a beta version of type acquisition powered by Algolia, which will try to download types used by import`s in your code. It's not 100% comprehensive, but it should cover most use cases.
import
Adapted from agentcooper/typescript-play with code viewable at orta/typescript-play.
Loading