Course lesson

Provide Single Source of Truth for TypeScript Types using Lookups

Using lookups in TypeScript for function parameter type definitions and other places can be useful for values you know might change over time. This will prevent you from having to change the type of the object itself as well as any function or component that...

Duration
2 min
Access
Included
Transcript
Retained from source evidence

Using lookups in TypeScript for function parameter type definitions and other places can be useful for values you know might change over time. This will prevent you from having to change the type of the object itself as well as any function or component that needs to receive data about that object.