From 1d19b1011bd7df50598f5981408c2d78c35b76d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 1 Nov 2023 20:25:09 +0100 Subject: chore: upgrade deno_core (#21036) Updated to deno_core 0.224.0 and V8 12.0. --------- Co-authored-by: Aapo Alasuutari --- cli/tsc/dts/lib.es2021.promise.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tsc/dts') diff --git a/cli/tsc/dts/lib.es2021.promise.d.ts b/cli/tsc/dts/lib.es2021.promise.d.ts index 6ef98b638..5212c8d3e 100644 --- a/cli/tsc/dts/lib.es2021.promise.d.ts +++ b/cli/tsc/dts/lib.es2021.promise.d.ts @@ -45,4 +45,10 @@ interface PromiseConstructor { * @returns A new Promise. */ any(values: Iterable>): Promise> + + /** + * Creates a Promise that can be resolved or rejected using provided functions. + * @returns An object containing `promise` promise object, `resolve` and `reject` functions. + */ + withResolvers(): { promise: Promise, resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void }; } -- cgit v1.2.3