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