GlossaryProductsNew to AI

TypeScript

Also written: TS

TypeScript is a programming language that adds types to JavaScript, improving code reliability and developer tools.

In plain terms

TypeScript is a programming language that helps developers write code for websites and applications. It is based on JavaScript, the most common language for web development.

By adding types, TypeScript helps catch errors early in the development process. This means fewer bugs in the final product. For example, if a function expects a number but receives text, TypeScript will flag this mistake before the code even runs.

The expert version

TypeScript is a strict syntactical superset of JavaScript that adds optional static typing. It compiles down to plain JavaScript. The type system allows for early detection of errors during development, improving code quality and maintainability, especially in large codebases. Tradeoffs include a compilation step and a steeper learning curve compared to plain JavaScript.

Why it matters now

TypeScript is appearing in frontier AI news because Microsoft's open-source strategy, which includes TypeScript, underpins its developer-focused AI initiatives like Copilot. The language's design, led by Anders Hejlsberg, emphasizes building large, reliable applications, a goal that aligns with the complex software engineering required for advanced AI development.

Where it shows up 2 items, newest first
How each company uses it
Microsoft Copilot
Microsoft Copilot leverages TypeScript, a language that enhances JavaScript for building large applications, reflecting Microsoft's broader open-source strategy and commitment to developer tools.
Related terms

JavaScriptCompilersStatic TypingIDESoftware DevelopmentOpen Source

Often confused with
JavaScript
JavaScript is the base language that TypeScript compiles to, but it
Flow
Flow is another static type checker for JavaScript, developed by Facebook,
Origin

TypeScript was developed by Microsoft and first released in 2012. It was created to address the challenges of developing large-scale JavaScript applications. Source ↗

Try this about 5 minutes

You can try TypeScript by creating a simple `.ts` file and writing some JavaScript code within it. Then, use the TypeScript compiler (`tsc`) to convert it to JavaScript. Observe how the compiler might flag type-related errors if you introduce them.

Try it: Playbook entries that use thisPlaybook →

The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.

Questions people ask

Is TypeScript hard to learn?
If you already know JavaScript, learning TypeScript is generally straightforward. The core concepts of types are the main additions.
Does TypeScript run in browsers?
No, TypeScript code must be compiled into JavaScript first, which is then executed by web browsers.

First seen on Subvolts Sep 18, 2026. Updated Sep 25, 2026. Written by an AI model from the items above and reviewed against them weekly; report an error.