Exploring the power of Record<K, V> in TypeScript
In Javascript almost everything is an object like Arrays, functions, Date, RegExp Promise etc. You categorise objects into 2 types: With Known Properties: You know properties or methods upfront before even declaring it. Unknown Properties: You do n...