This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using as const to prevent type widening and preserve literal types.
You've completed the free preview. Subscribe to unlock every lesson in every course.