( obj: T, )
| 42 | return Object.values(obj); |
| 43 | } |
| 44 | export function objEntries<V extends T[keyof T], T extends object = any>( |
| 45 | obj: T, |
| 46 | ): [Extract<keyof T, string>, V][] { |
| 47 | return Object.entries(obj) as any; |
| 48 | } |
| 49 | export function objFromEntries< |
| 50 | E extends [KeyType, any][], |
| 51 | K extends E[number][0], |
no outgoing calls
no test coverage detected