diff --git a/test-d/stdio/option/web-transform-instance.test-d.ts b/test-d/stdio/option/web-transform-instance.test-d.ts index 937c2c4a3c..f3cdc2986a 100644 --- a/test-d/stdio/option/web-transform-instance.test-d.ts +++ b/test-d/stdio/option/web-transform-instance.test-d.ts @@ -1,3 +1,4 @@ +import {TransformStream} from 'node:stream/web'; import {expectError, expectAssignable, expectNotAssignable} from 'tsd'; import { execa, diff --git a/test-d/stdio/option/web-transform-invalid.test-d.ts b/test-d/stdio/option/web-transform-invalid.test-d.ts index 62f9f33b56..d9d4835ea3 100644 --- a/test-d/stdio/option/web-transform-invalid.test-d.ts +++ b/test-d/stdio/option/web-transform-invalid.test-d.ts @@ -1,3 +1,4 @@ +import {TransformStream} from 'node:stream/web'; import {expectError, expectNotAssignable} from 'tsd'; import { execa, diff --git a/test-d/stdio/option/web-transform-object.test-d.ts b/test-d/stdio/option/web-transform-object.test-d.ts index d6ccf35421..094840e95d 100644 --- a/test-d/stdio/option/web-transform-object.test-d.ts +++ b/test-d/stdio/option/web-transform-object.test-d.ts @@ -1,3 +1,4 @@ +import {TransformStream} from 'node:stream/web'; import {expectError, expectAssignable, expectNotAssignable} from 'tsd'; import { execa, diff --git a/test-d/stdio/option/web-transform.test-d.ts b/test-d/stdio/option/web-transform.test-d.ts index 77d3acde1d..c4823e60cc 100644 --- a/test-d/stdio/option/web-transform.test-d.ts +++ b/test-d/stdio/option/web-transform.test-d.ts @@ -1,3 +1,4 @@ +import {TransformStream} from 'node:stream/web'; import {expectError, expectAssignable, expectNotAssignable} from 'tsd'; import { execa, diff --git a/test-d/transform/object-mode.test-d.ts b/test-d/transform/object-mode.test-d.ts index b6542e594b..bc47901f17 100644 --- a/test-d/transform/object-mode.test-d.ts +++ b/test-d/transform/object-mode.test-d.ts @@ -1,4 +1,5 @@ import {Duplex} from 'node:stream'; +import {TransformStream} from 'node:stream/web'; import {expectType} from 'tsd'; import {execa, type ExecaError} from '../../index.js'; diff --git a/types/stdio/type.d.ts b/types/stdio/type.d.ts index ca1d0f1e03..452361ba18 100644 --- a/types/stdio/type.d.ts +++ b/types/stdio/type.d.ts @@ -1,5 +1,5 @@ import type {Readable, Writable} from 'node:stream'; -import type {ReadableStream, WritableStream} from 'node:stream/web'; +import type {ReadableStream, WritableStream, TransformStream} from 'node:stream/web'; import type { Not, And, diff --git a/types/transform/normalize.d.ts b/types/transform/normalize.d.ts index 491bf869b1..89a3348fae 100644 --- a/types/transform/normalize.d.ts +++ b/types/transform/normalize.d.ts @@ -1,3 +1,4 @@ +import type {TransformStream} from 'node:stream/web'; import type {Duplex} from 'node:stream'; import type {Unless} from '../utils.js';