Skip to content

Commit 6f4941e

Browse files
authored
Fix typing of web streams (#1043)
1 parent 9693cba commit 6f4941e

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

test-d/stdio/option/readable-stream.test-d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {ReadableStream} from 'node:stream/web';
12
import {expectError, expectAssignable, expectNotAssignable} from 'tsd';
23
import {
34
execa,

test-d/stdio/option/writable-stream.test-d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import {WritableStream} from 'node:stream/web';
12
import {expectError, expectAssignable, expectNotAssignable} from 'tsd';
23
import {
34
execa,

types/stdio/type.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type {Readable, Writable} from 'node:stream';
2+
import type {ReadableStream, WritableStream} from 'node:stream/web';
23
import type {
34
Not,
45
And,

0 commit comments

Comments
 (0)