From 5a1943cd9560466a5922bd3cd79cca5c9f378561 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 24 Sep 2024 07:04:52 -0700 Subject: fix: better error for Deno.UnsafeWindowSurface, correct HttpClient name, cleanup unused code (#25833) --- cli/tsc/dts/lib.deno.ns.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/tsc/dts/lib.deno.ns.d.ts') diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 3cca95cdf..36592e10d 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -6041,9 +6041,11 @@ declare namespace Deno { * * @category Fetch */ - export interface HttpClient extends Disposable { + export class HttpClient implements Disposable { /** Close the HTTP client. */ close(): void; + + [Symbol.dispose](): void; } /** -- cgit v1.2.3