Primitivní typy
const n: number = 42; // celá i desetinná číslaconst s: string = "ahoj";const ok: boolean = true;const big: bigint = 2n ** 64n; // obří celá číslalet nothing: null = null; // záměrně „nic“let notSet: undefined; // hodnota nenastavená