Merge pull request #1290 from RemcoBlok/patch-1

fix Q.onerror spelling mistake and missing parameter
This commit is contained in:
Basarat Ali Syed
2013-11-19 20:09:34 -08:00
Vendored
+1 -1
View File
@@ -145,7 +145,7 @@ declare module Q {
export function async<T>(generatorFunction: any): (...args: any[]) => Promise<T>;
export function nextTick(callback: Function): void;
export var oneerror: () => void;
export var onerror: (reason: any) => void;
export var longStackSupport: boolean;
export function resolve<T>(object: IPromise<T>): Promise<T>;