Skip to main content

RecordLike type

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A mapping of string to another type. Both Map and Record are accepted.

This API may change without a BREAKING CHANGE notice.

Signature:

export type RecordLike<T> = Map<string, T> | Record<string, T>