ObjectFromEntries
Hard
0.0% Acceptance
Implement the type version of Object.fromEntries
For example:
interface Model { name: string; age: number; locations: string[] | null; } type ModelEntries = ['name', string] | ['age', number] | ['locations', string[] | null]; type result = ObjectFromEntries<ModelEntries> // expected to be Model