FunctionsCommonFromEntriesCommonFromEntries CallableCommonFromEntries<KT, VT>(iterable: Iterable<[key: KT, value: VT]>): Record<KT, VT>A Object.fromEntries variant annotated to return respect literal key types.@noteThe returned record is typed as being non-Partial, an assumption that may not hold in practiceType parametersKT: stringVTParametersiterable: Iterable<[key: KT, value: VT]>An iterable object that contains key-value entries for properties and methodsReturns Record<KT, VT>A record created from the passed key/value pairs
A Object.fromEntries variant annotated to return respect literal key types.
The returned record is typed as being non-Partial, an assumption that may not hold in practice