TECHNOLOGY INDEX / REFERENCELANGUAGE / STATIC TYPESLANGUAGE
REFERENCE / TYPESCRIPT
TypeScript
TypeScript is JavaScript with static type checking. Its compiler checks source code and emits JavaScript for browsers, servers and other JavaScript runtimes.
TYPED
JAVASCRIPT.
It catches type errors before execution and documents the shapes of values, functions and APIs.
THE CORE
IDEAS.
- 01
TYPE CHECKING
Find incompatible values and unsafe assumptions before the program runs.
- 02
JAVASCRIPT OUTPUT
Types disappear at build time; the resulting code remains ordinary JavaScript.
- 03
SHARED CONTRACTS
Types and interfaces document the values passed between modules, packages and APIs.
KEEP EXPLORING / 03OFFICIAL