diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-09-25 22:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 07:23:35 +1000 |
commit | 0ffaaba1648bab0cf8da04bbb9a2e1fac2ac60aa (patch) | |
tree | 6cf63e366f298615ea3f9f52f73c55be7c18ca3e /op_crates | |
parent | eb7f70c0b04d07feb30d41418935a3521811f8f8 (diff) |
fix(cli/dts): Use var instead of const and let for globals (#7680)
Diffstat (limited to 'op_crates')
-rw-r--r-- | op_crates/fetch/lib.deno_fetch.d.ts | 2 | ||||
-rw-r--r-- | op_crates/web/lib.deno_web.d.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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<R = any> { }): AsyncIterableIterator<R>; } -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; }; |