Course contentsShow
TypeScript
Lesson 475 of 1,79611. Literal TypesPro lesson

Extracting Types from as const Values

Using typeof with as const to derive types from literal-typed constants.

This lesson is for subscribers

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