Type-Level TypeScript
Work at the type level: mapped and conditional types, tuples, exact entries, deep merges and keys that keep their types.
- 01
Make a Read-Only Object Writable Again
- easy
- Code
- 02
Keep Only an Object's String Fields
- easy
- Code
- 03
Flatten Nested Arrays One Level, Typed
- easy
- Code
- 04
List an Object's Values with Their Types
- easy
- Code
- 05
Join Two Tuples, Position by Position
- easy
- Code
- 06
Await an Object of Promises by Key
- medium
- Code
- Pro
- 07
Drop Null and Undefined Fields, Typed
- medium
- Code
- 08
List an Object's Entries as Exact Pairs
- medium
- Code
- Pro
- 09
Merge Two Objects, Later Types Win
- medium
- Code
- 10
Split a Tuple into Head and Tail
- medium
- Code
- 11
Build an Enum Object from a List of Names
- medium
- Code
- 12
Read Object Keys Without Losing Their Types
- medium
- Code
- 13
Merge Overrides into Defaults at Any Depth
- hard
- Code
- Pro
- 14
Find the Required Fields Still Missing
- hard
- Code
- 15
Bind Every Method to Its Object
- hard
- Code
- Pro