This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using union types for actions enables exhaustive type checking and better autocompletion.
You've completed the free preview. Subscribe to unlock every lesson in every course.