diff --git a/bluebird/bluebird.d.ts b/bluebird/bluebird.d.ts index fc3343ecd2..34659859cb 100644 --- a/bluebird/bluebird.d.ts +++ b/bluebird/bluebird.d.ts @@ -34,7 +34,7 @@ interface PromiseConstructor { new (callback: ( resolve: (thenableOrResult?: T | PromiseLike) => void, reject: (error: any) => void, - onCancel: PromiseCancelHandlerSetter + onCancel?: PromiseCancelHandlerSetter ) => void): Promise; config(options: {