This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use const arrays with 'as const' and 'typeof' to derive both runtime values and union types from one source.
You've completed the free preview. Subscribe to unlock every lesson in every course.