update deps
This commit is contained in:
8
node_modules/es6-promise/es6-promise.d.ts
generated
vendored
8
node_modules/es6-promise/es6-promise.d.ts
generated
vendored
@@ -34,11 +34,15 @@ export class Promise <R> implements Thenable <R> {
|
||||
catch <U> (onRejected?: (error: any) => U | Thenable<U>): Promise<U>;
|
||||
|
||||
/**
|
||||
* onSettled is invoked when/if the "promise" settles (either rejects or fulfills);
|
||||
* onSettled is invoked when/if the "promise" settles (either rejects or fulfills).
|
||||
* The returned promise is settled when the `Thenable` returned by `onFinally` settles;
|
||||
* it is rejected if `onFinally` throws or rejects; otherwise it assumes the state of the
|
||||
* original Promise.
|
||||
*
|
||||
* @param onFinally called when/if "promise" settles
|
||||
|
||||
*/
|
||||
finally <U> (onFinally?: (callback: any) => U | Thenable<U>): Promise<U>;
|
||||
finally (onFinally?: () => any | Thenable<any>): Promise<R>;
|
||||
|
||||
/**
|
||||
* Make a new promise from the thenable.
|
||||
|
Reference in New Issue
Block a user