From ca4d1a714c5723920063788f712f194cb2548fbc Mon Sep 17 00:00:00 2001 From: David Morgantini Date: Mon, 27 Oct 2014 21:08:16 +0000 Subject: [PATCH] upgrade to q v 1.0.1 --- q/Q.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/q/Q.d.ts b/q/Q.d.ts index 1352115e3..3e7371ead 100644 --- a/q/Q.d.ts +++ b/q/Q.d.ts @@ -331,8 +331,8 @@ declare module Q { */ export function reject(reason?: any): Promise; - export function promise(resolver: (resolve: (val: IPromise) => void , reject: (reason: any) => void , notify: (progress: any) => void ) => void ): Promise; - export function promise(resolver: (resolve: (val: T) => void , reject: (reason: any) => void , notify: (progress: any) => void ) => void ): Promise; + export function Promise(resolver: (resolve: (val: IPromise) => void , reject: (reason: any) => void , notify: (progress: any) => void ) => void ): Promise; + export function Promise(resolver: (resolve: (val: T) => void , reject: (reason: any) => void , notify: (progress: any) => void ) => void ): Promise; /** * Creates a new version of func that accepts any combination of promise and non-promise values, converting them to their fulfillment values before calling the original func. The returned version also always returns a promise: if func does a return or throw, then Q.promised(func) will return fulfilled or rejected promise, respectively.