This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn to declare and use string literal types like 'success' or 'error' as exact type constraints.
You've completed the free preview. Subscribe to unlock every lesson in every course.