TypeScript
A strongly typed programming language built on top of JavaScript
TypeScript is a programming language that extends JavaScript with type syntax, reporting errors in the editor before code runs. It compiles to JavaScript, so output runs wherever JavaScript runs, including browsers, Node.js, Deno, and Bun. Projects can adopt it incrementally, applying types to existing JavaScript through JSDoc and `@ts-check` before moving to TypeScript files.
TypeScript uses type inference to provide editor tooling without extra code. It supports interfaces, type aliases, and union types for describing data shapes, along with editor features such as auto-complete and JSX. The language can be tried in the browser via the Playground or installed through npm. Documentation is available in the Handbook, and TypeScript 7.0 is the current release.
12 alternatives to TypeScript
Ranked by how well each tool replaces TypeScript: shared features, audience, price and popularity.
Essential tools for software developers and teams
Covers 1 of 1 key features and has a free plan.
Free plan57 out of 100 matchContact sales- 54 out of 100 match—
Cursor is your coding agent for building ambitious software.
Covers 1 of 1 key features and has a free plan.
Free plan51 out of 100 match$20/moA little language that compiles into JavaScript
Covers 0 of 1 key features and is open source.
Open source51 out of 100 match—Manage fleets of local and cloud agents from one surface. Plan, delegate, review, and ship
Covers 1 of 1 key features and has a free plan.
Free plan49 out of 100 match$20/moAI assistant built by Anthropic for chat, code, documents and connected work.
Covers 1 of 1 key features and has a free plan.
Free plan47 out of 100 match$17/mo- 47 out of 100 match—
- 44 out of 100 matchFree
- 43 out of 100 match—
Open source servlet container implementing Jakarta Servlet, Jakarta Pages, Jakarta Express
Covers 1 of 1 key features, has a free plan and is open source.
Free planOpen source40 out of 100 matchFreeTransform your plain text into static websites and blogs
Covers 1 of 1 key features, has a free plan and is open source.
Free planOpen source39 out of 100 matchFree