Type alias EntriesOf<ArrayOrRecord>

EntriesOf<ArrayOrRecord>: Entries<KeyOf<ArrayOrRecord>, ValueOf<ArrayOrRecord>>

Array of EntryOf.

Example

const object = {
"🟢": 1,
"🟩": 2,
};
const entries: EntriesOf<typeof object> = Object.entries(object);

Type Parameters