mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Fix TypeScript error
This commit is contained in:
Vendored
+1
-1
@@ -95,7 +95,7 @@ declare class ReadableStreamBYOBRequest {
|
||||
|
||||
interface WritableStreamSink {
|
||||
start?(controller: WritableStreamDefaultController): void | Promise<void>;
|
||||
write?(chunk: any, controller: WritableStreamDefaultController): void | Promise<void>;
|
||||
write?(chunk: any, controller?: WritableStreamDefaultController): void | Promise<any>;
|
||||
close?(controller: WritableStreamDefaultController): void | Promise<void>;
|
||||
abort?(reason: string): void | Promise<void>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user