TypeScript concepts

TypeScript · Type Erasure

TypeScript Type Erasure puzzles

1 TypeScript puzzle on type erasure. Read the snippet, guess the output, then reveal the answer and why TypeScript behaves that way.