My Learning from Advent of TS 2023
Day 1,2,3 East peasy for now. Day 4 type Address = { address: string; city: string }; type PresentDeliveryList<T> = Record<keyof T, Address>; Learnt that we can make object type using Record and key of. Day 5 type SantasList<A extends readonly any[]...
Dec 11, 20232 min read8