summaryrefslogtreecommitdiff
path: root/cli/dts/lib.dom.asynciterable.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-01-29 06:41:30 +1100
committerGitHub <noreply@github.com>2021-01-29 06:41:30 +1100
commit7bda0f567ec7e1a688b41b6026c6124656cd413a (patch)
tree481a497a09f5b7e035c05bb540ba245fe68afbfd /cli/dts/lib.dom.asynciterable.d.ts
parent5cf194380bcad0fd763fb0893ec49bfc91fda15d (diff)
fix(cli): add lib dom.asynciterable (#9288)
Fixes #9218
Diffstat (limited to 'cli/dts/lib.dom.asynciterable.d.ts')
-rw-r--r--cli/dts/lib.dom.asynciterable.d.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/dts/lib.dom.asynciterable.d.ts b/cli/dts/lib.dom.asynciterable.d.ts
new file mode 100644
index 000000000..fcf5750cf
--- /dev/null
+++ b/cli/dts/lib.dom.asynciterable.d.ts
@@ -0,0 +1,9 @@
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+
+/// <reference no-default-lib="true"/>
+
+interface ReadableStream<R = any> {
+ [Symbol.asyncIterator](options?: {
+ preventCancel?: boolean;
+ }): AsyncIterableIterator<R>;
+}