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 67073d0 commit fd0b122Copy full SHA for fd0b122
test/types/writable-stream.ts
@@ -40,7 +40,13 @@ const closePromise: Promise<void> = writableStream.close();
40
const abortPromise: Promise<void> = writableStream.abort('aborted');
41
42
// Compatibility with stream types from DOM
43
-// FIXME Remove deprecated WritableStreamDefaultController.abortReason
+declare global {
44
+ interface WritableStreamDefaultController {
45
+ // FIXME Remove deprecated WritableStreamDefaultController.abortReason
46
+ abortReason: any;
47
+ }
48
+}
49
+
50
// const domUnderlyingSink: UnderlyingSink<string> = underlyingSink;
51
const domWritableStream: WritableStream<string> = writableStream;
52
// const domController: WritableStreamDefaultController = controller;
0 commit comments