Understanding TypeScript Record<K, T>: Definition, Usage, and Examples | CodeTrail