Narrowing

Turni toraytirishTypeScript

Misol

if (typeof id === "string") id.toUpperCase();
Barcha atamalar