mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Merge pull request #1290 from RemcoBlok/patch-1
fix Q.onerror spelling mistake and missing parameter
This commit is contained in:
commit
9e18718965
1 file changed
+1
-1
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user