Course contentsShow
TypeScript
Lesson 518 of 1,79612. EnumsPro lesson

Type Safety: Enums vs Unions

Comparing the type safety guarantees of enums versus string-literal unions in assignment and narrowing.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.