Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 8b40077

Browse files
authored
Fixup the StreamQueuingStrategy size override (#209)
The value passed to `chunk` can be any JavaScript value.
1 parent edaac15 commit 8b40077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overrides/stream.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare abstract class ReadableStream {
55
}
66

77
interface StreamQueuingStrategy {
8-
size(chunk: ArrayBuffer): number;
8+
size(chunk: any): number;
99
}
1010

1111
export {};

0 commit comments

Comments
 (0)