microsoft/TypeScript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
What it is
TypeScript is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the playground, and stay up to date via our blog and Bluesky.
When to use it
Reach for TypeScript when you want a sharper everyday toolchain — editor, package manager, compiler or monorepo tooling — it's written in Go and fits stacks tagged javascript, language, typechecker, typescript.