TypeScript · Narrowing
TypeScript Narrowing puzzles
12 TypeScript puzzles on narrowing. Read the snippet, guess the output, then reveal the answer and why TypeScript behaves that way.
TypeScript · Narrowing
12 TypeScript puzzles on narrowing. Read the snippet, guess the output, then reveal the answer and why TypeScript behaves that way.