diff --git a/src/utils/utils.ts b/src/utils/utils.ts index 03ca6e7..625c35b 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -10,7 +10,7 @@ export type ObjectType = Record; export type ToDeepPromise = { [K in keyof T]: T[K] extends (...args: infer P) => infer R - ? (...args: P) => Promise + ? (...args: P) => Promise> : T[K] extends object ? ToDeepPromise : T[K]