Skip to main content

A Primer on TypeScript

info

This page is part of a primer series that includes Java, Python, JavaScript (JS), and TypeScript. It is subject to continuous improvement.

TypeScript brings more structure to JavaScript (JS). Conveniently referred to as the syntactic superset of JS, it also allows us write reliable codes through static typing. TypeScript code eventually gets transformed into JS code through a process called transpilation. Transpilation involves translating a code written in one high-level language into another.