update deps

This commit is contained in:
s2
2019-12-20 20:02:44 +01:00
parent 14c1b72301
commit b7fa481dcb
833 changed files with 68364 additions and 18390 deletions

View File

@@ -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.