Course contentsShow
TypeScript
Lesson 467 of 1,79611. Literal TypesPro lesson

The Widening Problem Without as const

Why TypeScript widens string and number literals to their base types by default.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.