From 68d356eed91731cd0c13eb946f296aa90ef4d5ac Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 6 Dec 2023 18:49:34 -0500 Subject: feat: TypeScript 5.3 (#21480) https://github.com/denoland/TypeScript/pull/9 --- cli/tsc/dts/lib.es2021.weakref.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tsc/dts/lib.es2021.weakref.d.ts') diff --git a/cli/tsc/dts/lib.es2021.weakref.d.ts b/cli/tsc/dts/lib.es2021.weakref.d.ts index 3a8be269a..986af60d4 100644 --- a/cli/tsc/dts/lib.es2021.weakref.d.ts +++ b/cli/tsc/dts/lib.es2021.weakref.d.ts @@ -35,7 +35,7 @@ interface WeakRefConstructor { * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible. * @param target The target value for the WeakRef instance. */ - new(target: T): WeakRef; + new (target: T): WeakRef; } declare var WeakRef: WeakRefConstructor; @@ -70,7 +70,7 @@ interface FinalizationRegistryConstructor { * Creates a finalization registry with an associated cleanup callback * @param cleanupCallback The callback to call after a value in the registry has been reclaimed. */ - new(cleanupCallback: (heldValue: T) => void): FinalizationRegistry; + new (cleanupCallback: (heldValue: T) => void): FinalizationRegistry; } declare var FinalizationRegistry: FinalizationRegistryConstructor; -- cgit v1.2.3