TSts-docs

Reference/Globals/Reference

Reference

globals · TypeScript 7.0

Every documented global. Each page lists signatures, a short example, and what changed by version. For the compiler, the checker, and the language service, start with the handbook.

Globals

String

string · String

Immutable text as UTF-16 code units. Every method returns a new string; the wrapper object stays out of sight.

Array

Array<T> · T[]

The ordered list. Half the methods return new arrays, the other half edit in place — knowing which is which is the whole game.

Promise

Promise<T> · async / await

The placeholder for a value that isn't ready yet. Settles exactly once, composes with then — or, more often now, with await.