From 5b59df200db46eada94baf2f0e0148bd1527a725 Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Sat, 25 Jun 2016 22:19:25 -0700 Subject: [PATCH] Update bluebird.d.ts --- bluebird.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bluebird.d.ts b/bluebird.d.ts index 1552393..193fc14 100644 --- a/bluebird.d.ts +++ b/bluebird.d.ts @@ -5,7 +5,7 @@ declare class Bluebird implements Bluebird.Thenable, Bluebird.Inspection) => void, reject: (error?: any) => void) => void); + constructor(callback: (resolve: (thenableOrResult?: R | Bluebird.Thenable | null) => void, reject: (error?: any) => void) => void); /** * Promises/A+ `.then()`. Returns a new promise chained from this promise. The new promise will be rejected or resolved dedefer on the passed `fulfilledHandler`, `rejectedHandler` and the state of this promise.