projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
massive update, probably broken
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-tsserver
/
node_modules
/
typescript
/
lib
/
lib.es2020.promise.d.ts
diff --git
a/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2020.promise.d.ts
b/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2020.promise.d.ts
index c3e206efa353c9693297f4d0ab3fd78f0b42d994..15b0f2c32ea9f951f422f773c1aed3efc78e3276 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2020.promise.d.ts
+++ b/
.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/lib.es2020.promise.d.ts
@@
-37,8
+37,7
@@
interface PromiseConstructor {
* @param values An array of Promises.
\r
* @returns A new Promise.
\r
*/
\r
* @param values An array of Promises.
\r
* @returns A new Promise.
\r
*/
\r
- allSettled<T extends readonly unknown[] | readonly [unknown]>(values: T):
\r
- Promise<{ -readonly [P in keyof T]: PromiseSettledResult<T[P] extends PromiseLike<infer U> ? U : T[P]> }>;
\r
+ allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>> }>;
\r
\r
/**
\r
* Creates a Promise that is resolved with an array of results when all
\r
\r
/**
\r
* Creates a Promise that is resolved with an array of results when all
\r
@@
-46,5
+45,5
@@
interface PromiseConstructor {
* @param values An array of Promises.
\r
* @returns A new Promise.
\r
*/
\r
* @param values An array of Promises.
\r
* @returns A new Promise.
\r
*/
\r
- allSettled<T>(values: Iterable<T
>): Promise<PromiseSettledResult<T extends PromiseLike<infer U> ? U : T
>[]>;
\r
+ allSettled<T>(values: Iterable<T
| PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>
>[]>;
\r
}
\r
}
\r