summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.es2021.promise.d.ts
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-26 18:52:57 -0400
committerGitHub <noreply@github.com>2024-03-26 18:52:57 -0400
commitac4a5f74b8e56a360e0a0543a6fc45099e13b95a (patch)
tree463796fb830eae41fc039512bb1ce79919195735 /cli/tsc/dts/lib.es2021.promise.d.ts
parent6b95c53e48a2622f4f2b6fdfa6c2c26dc30bbba4 (diff)
feat: TypeScript 5.4 (#23086)
Fork PR: https://github.com/denoland/TypeScript/pull/10 Closes #23080
Diffstat (limited to 'cli/tsc/dts/lib.es2021.promise.d.ts')
-rw-r--r--cli/tsc/dts/lib.es2021.promise.d.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/cli/tsc/dts/lib.es2021.promise.d.ts b/cli/tsc/dts/lib.es2021.promise.d.ts
index 5ec1f5f7b..fb9bdf261 100644
--- a/cli/tsc/dts/lib.es2021.promise.d.ts
+++ b/cli/tsc/dts/lib.es2021.promise.d.ts
@@ -45,10 +45,4 @@ interface PromiseConstructor {
* @returns A new Promise.
*/
any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
-
- /**
- * Creates a Promise that can be resolved or rejected using provided functions.
- * @returns An object containing `promise` promise object, `resolve` and `reject` functions.
- */
- withResolvers<T>(): { promise: Promise<T>, resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void };
}