Explore Library
FlashcardBeginner

Literal Type Widening

TypeScript widens literals to their base type when using let.

Question

What is literal type widening?

Click to reveal answer