This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
How unions in the expected type narrow the inferred type to matching members automatically.
You've completed the free preview. Subscribe to unlock every lesson in every course.