Union type

Birlashma turiTypeScript

Misol

type Status = "yangi" | "tayyor" | "berildi";
Barcha atamalar