Put in order · JavaScript and TypeScript course · Module 7: Advanced TypeScript
From Type to Generic Utility
Order the evolution from a simple type to an advanced utility type:
Items to put in order
- Record<string, Dinosaur> - mapping keys to a type
- Pick<Dinosaur, 'name'> - property selection
- Custom Mapped Type with Conditional Types
- type Dinosaur = { name: string; age: number } - basic type
- Partial<Dinosaur> - optional properties
You can check the correct answer by solving this task in the CodeWorlds game.