Type alias EmptyRecord

EmptyRecord: ReadOnlyRecord<PropertyKey, never>

Empty record (object).

Remarks

This is a type alias for an empty readonly record. Accessing properties gives undefined.

Example

const emptyRecord: EmptyRecord = {};

See

ReadOnlyRecord