diff --git a/types/cls-hooked/index.d.ts b/types/cls-hooked/index.d.ts index 6d0a68aa6e..57e6b79c60 100644 --- a/types/cls-hooked/index.d.ts +++ b/types/cls-hooked/index.d.ts @@ -14,6 +14,7 @@ export interface Namespace { get(key: string): any; run(fn: (...args: any[]) => void): void; runAndReturn(fn: (...args: any[]) => T): T; + runPromise(fn: (...args: any[]) => Promise): Promise; bind(fn: F, context?: any): F; // tslint:disable-line: ban-types bindEmitter(emitter: EventEmitter): void; createContext(): any;