This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use `as const` to tell TypeScript to infer the narrowest possible literal types for an expression.
You've completed the free preview. Subscribe to unlock every lesson in every course.