Skip to content

Commit 775bb39

Browse files
ptrdomarmanbilge
andauthored
WIP
Co-authored-by: Arman Bilge <armanbilge@gmail.com>
1 parent 86cd967 commit 775bb39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/src/main/scala/org/scalajs/dom/ReadableStreamReader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ReadableStreamReader[+T](stream: ReadableStream[T]) extends js.Object {
3131
* If the reader is active, the cancel method behaves the same as that for the associated stream. When done, it
3232
* automatically releases the lock.
3333
*/
34-
def cancel[U](reason: U): js.Promise[Unit] = js.native
34+
def cancel(reason: Any): js.Promise[Unit] = js.native
3535
def cancel(): js.Promise[Unit] = js.native
3636

3737
/** See [[https://streams.spec.whatwg.org/#reader-read 3.4.4.3. read()]] of whatwg Stream spec.

0 commit comments

Comments
 (0)