We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9003540 commit f4cb639Copy full SHA for f4cb639
types/whatwg-streams/index.d.ts
@@ -95,7 +95,7 @@ declare class ReadableStreamBYOBRequest {
95
96
interface WritableStreamSink {
97
start?(controller: WritableStreamDefaultController): void | Promise<void>;
98
- write?(chunk: any, controller?: WritableStreamDefaultController): void | Promise<any>;
+ write?(chunk: any, controller?: WritableStreamDefaultController): any;
99
close?(controller: WritableStreamDefaultController): void | Promise<void>;
100
abort?(reason: string): void | Promise<void>;
101
}
0 commit comments