Welcome back! Today I show you the Literal Types. This feature permits you to create a set of relationship values. type Direction = "North" | "South" | "East" | "West"; Literal types in this case create also a Type Guard of your field, so the compil...

Markdown supported · ⌘↵ to post
No responses yet.