We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d5ab1 commit e33e101Copy full SHA for e33e101
dom/src/main/scala/org/scalajs/dom/ReadableStream.scala
@@ -75,7 +75,7 @@ trait ReadableStream[+T] extends js.Object {
75
*
76
* //todo: determine the type of options
77
*/
78
- def pipeTo(dest: WriteableStream[T], options: Any = js.native): Unit = js.native
+ def pipeTo(dest: WriteableStream[T], options: Any = js.native): js.Promise[Unit] = js.native
79
80
/** See [[https://streams.spec.whatwg.org/#rs-tee ¶3.2.4.6. tee()]] of whatwg streams spec.
81
0 commit comments