- mapObject<T>(obj: T, f: ((p: [string, T[keyof T]]) => [string, unknown][])): Record<string, unknown>
-
Type Parameters
-
T extends Record<string, unknown>
Parameters
-
obj: T
-
f: ((p: [string, T[keyof T]]) => [string, unknown][])
-
- (p: [string, T[keyof T]]): [string, unknown][]
-
Returns [string, unknown][]
Returns Record<string, unknown>