NullableRecord

NullableRecord

Type helper to transform a interface so that each value can be null.

Definition

type NullableRecord = { [P in keyof T]-?: T[P] | null; }

Methods & Properties