Week 5 - Day 2
← Back to Week 5 / ← Course Index
Goal
TypeScript part 2
Steps
- Work with arrays and objects with types. Return a typed result from a function.
- Use a narrow check that changes behavior based on type.
- Extra practice if you want
- add a generic helper that returns the input type