diff --git a/types/bluebird/index.d.ts b/types/bluebird/index.d.ts index 93dc18dfee..091dbe6e7a 100644 --- a/types/bluebird/index.d.ts +++ b/types/bluebird/index.d.ts @@ -70,8 +70,7 @@ declare class Bluebird implements PromiseLike, Bluebird.Inspection { * * Alias `.caught();` for compatibility with earlier ECMAScript version. */ - catch(onReject: (error: any) => Resolvable): Bluebird; - catch(onReject: ((error: any) => Resolvable) | undefined | null): Bluebird; + catch(onReject: ((error: any) => Resolvable) | undefined | null): Bluebird; /** * This extends `.catch` to work more like catch-clauses in languages like Java or C#.