diff --git a/src/utils.ts b/src/utils.ts index 136d7ffe01..e17607808d 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -443,7 +443,7 @@ export function isNullOrUndefined(val: any): boolean { } export interface IDeferred { - resolve: (value: T) => void; + resolve: (value: T | Promise) => void; reject: (reason?: any) => void; promise: Promise; }