TypeScript

34 lessons

Achievements
Combined Shape@2x

The Certificate

avatar

Indexed Access Types

Indexed Acess types help look up a defined property on a different type.

A standard example of the syntax and behavior of indexed access types in code is given below:

Now we can unions (keyof) as the indexed type is a type.