Lesson 18 of 24 · +100 xp

Literal Type

Exact value type.

Explained simply

Your task

Write let dir: "left" | "right" = "left";

literal.ts
← Back