Type Challenges Judge
Problems
Progress
Ranking
ObjectEntries
Implement the type version of Object.entries
Object.entries
For example
interface Model { name: string; age: number; locations: string[] | null; } type modelEntries = ObjectEntries<Model> // ['name', string] | ['age', number] | ['locations', string[] | null];