EntryObjecttype

{ readonly [E in T as E[0]]: E[1] }
Type
E

Turn an Entry type back into an object with a single property.
i.e. EntryObject<Entry<"a", string>> produces { a: string }