Type Signature · #63 · 2026-06-06
What is `typeof Direction`?
TypeScript ·Difficulty 3/3
How to play
Read the TypeScript snippet and pick the correct type from four choices. Think about inference, narrowing, and utility types. Press 1–4 or click to answer.
enum Direction {
Up,
Down,
Left,
Right
}
const d: Direction = Direction.Up;
Loading your progress...
Press 1 through 4, or tap a numbered choice, to answer. Back to hub