← TechnologiesTechnology · Language

TypeScript

A programming language that adds static typing on top of JavaScript.

TypeScript is an open-source programming language created by Microsoft in 2012 that extends JavaScript with static types. The code is compiled to plain JavaScript before it runs in the browser.

DeveloperMicrosoft
First released2012
LicenseApache-2.0
Official sitetypescriptlang.org
01 / About

TypeScript is a superset of JavaScript, meaning every piece of valid JavaScript code is also valid TypeScript. Microsoft released it in 2012 under the Apache-2.0 license, and it remains free and open source. Its core addition is a static type system: you declare in advance what kind of data your variables, function parameters, and objects hold.

Browsers cannot run TypeScript directly. The code first passes through a compiler (a program that translates code into another language), which checks all the types and outputs plain JavaScript. As a result, many bugs are caught while the code is being written - long before a visitor ever sees the site.

In large codebases TypeScript has become the de facto standard. Frameworks like Angular are written in it, while React, Vue, and Next.js offer first-class support. Types act as living documentation: a developer joining the project immediately sees what each function expects and returns, and code editors provide far better autocompletion and safe refactoring (restructuring code without breaking it) thanks to the type information.

For a business, the payoff is straightforward: fewer bugs, a more predictable development process, and lower long-term maintenance costs. As the site grows, new features can be added without silently breaking existing ones - which is why most professional web studios start new projects in TypeScript by default.

02 / Questions

Frequently asked questions

TypeScript is an open-source programming language created by Microsoft in 2012 that adds static typing to JavaScript. It is used to build websites and web applications where code reliability matters. The code compiles down to plain JavaScript, so the result runs in any browser.

Still have a question?Write to us