Skip to content

Type Alias: PartialRecord<K, T>

ts
type PartialRecord<K, T> = { [P in K]?: T };

Record partial to support enum implementations with subsets of available keys.

Type Parameters

Type Parameter
K extends keyof any
T