# TypeScript TypeScript is a strongly-typed superset of [[JavaScript]] created by [[Anders Hejlsberg]] at Microsoft. It adds static type checking and compiles to plain JavaScript, catching errors at development time rather than runtime. ## Key Characteristics - **Static typing**: Catch errors before runtime - **Type inference**: Smart defaults, explicit when needed - **JavaScript compatible**: All JS is valid TS - **IDE support**: Excellent autocomplete and refactoring - **Gradual adoption**: Add types incrementally ## Common Use Cases - Frontend development (React, Vue, Angular) - Backend ([[Node.js]], Deno, [[Bun]]) - Full-stack type safety (tRPC, Prisma) ## Native compilers (2026) TypeScript 7 is Microsoft's port of the compiler from TypeScript to [[Go]] (often called tsgo). According to [[Cloudflare]], it made type checking about 10x faster than the JavaScript-based compiler. In October 2026, Cloudflare and VoidZero took over [[tsrs]], a function-by-function port of that Go code to [[Rust]], incubated in [[Oxc]]. Cloudflare reports it's up to 8x faster than TypeScript 7.0 with ~70% less memory; it's still experimental, and Microsoft's TypeScript team keeps control of the language. ## References - https://www.typescriptlang.org/ - https://github.com/microsoft/TypeScript ## Related - [[JavaScript]] - [[Node.js]] - [[tsrs]]