This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use `value as Type` to assert that value should be treated as Type, even if TypeScript infers differently.
You've completed the free preview. Subscribe to unlock every lesson in every course.