A Record.Factory is created by the Record()
function. Record instances
are created by passing it some of the accepted values for that Recordtype:
Note that Record Factories return Record<TProps> & Readonly<TProps>
,
this allows use of both the Record instance API, and direct property
access on the resulting instances:
Record.Factory<TProps extends object>(
values?: Partial<TProps>
): RecordOf<TProps>
The name provided to Record(values, name)
can be accessed with displayName
.
displayName: string