CommonFromEntries
Callable
Parameters
iterable: Iterable<[key: KT, value: VT], any, any>
An iterable object that contains key-value entries for properties and methods
Returns Record<KT, VT>
A record created from the passed key/value pairs
The returned record is typed as being non-Partial, an assumption that may not hold in practice
A Object.fromEntries variant annotated to return respect literal key types.