From 0ffaaba1648bab0cf8da04bbb9a2e1fac2ac60aa Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 25 Sep 2020 22:23:35 +0100 Subject: fix(cli/dts): Use var instead of const and let for globals (#7680) --- op_crates/fetch/lib.deno_fetch.d.ts | 2 +- op_crates/web/lib.deno_web.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'op_crates') diff --git a/op_crates/fetch/lib.deno_fetch.d.ts b/op_crates/fetch/lib.deno_fetch.d.ts index 6e7edad3f..4a51bcc95 100644 --- a/op_crates/fetch/lib.deno_fetch.d.ts +++ b/op_crates/fetch/lib.deno_fetch.d.ts @@ -142,7 +142,7 @@ interface ReadableStream { }): AsyncIterableIterator; } -declare const ReadableStream: { +declare var ReadableStream: { prototype: ReadableStream; new ( underlyingSource: UnderlyingByteSource, diff --git a/op_crates/web/lib.deno_web.d.ts b/op_crates/web/lib.deno_web.d.ts index 102fbf718..4dffe7c48 100644 --- a/op_crates/web/lib.deno_web.d.ts +++ b/op_crates/web/lib.deno_web.d.ts @@ -231,7 +231,7 @@ interface AbortSignal extends EventTarget { ): void; } -declare const AbortSignal: { +declare var AbortSignal: { prototype: AbortSignal; new (): AbortSignal; }; -- cgit v1.2.3