Partial record type with all keys optional
type T = PartialRecord<'a' | 'b', number>// T = {a?: number, b?: number} Copy
type T = PartialRecord<'a' | 'b', number>// T = {a?: number, b?: number}
Generated using TypeDoc
Partial record type with all keys optional
Example