Object or array Entry.
Get the Entry type out of an object or array.
const object = { "🟢": 1, "🟩": 2,};const entries: EntryOf<typeof object> = Object.entries(object)[0]; Copy
const object = { "🟢": 1, "🟩": 2,};const entries: EntryOf<typeof object> = Object.entries(object)[0];
Array or record type.
Object or array Entry.
Remarks
Get the Entry type out of an object or array.
Example
See