Skip to content
Myr

Fix type of `TransformStream` (#1044)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by GitHub · parent 6f4941e · Browse files · 7 files+7 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+7 added−1 removed

  • other:+7 added−1 removed

7 files+7 added−1 removed

modified:test-d/stdio/option/web-transform-instance.test-d.ts+1 added
modified:test-d/stdio/option/web-transform-invalid.test-d.ts+1 added
modified:test-d/stdio/option/web-transform-object.test-d.ts+1 added
modified:test-d/stdio/option/web-transform.test-d.ts+1 added
modified:test-d/transform/object-mode.test-d.ts+1 added
1import {Duplex} from 'node:stream';2import {TransformStream} from 'node:stream/web';3import {expectType} from 'tsd';4import {execa, type ExecaError} from '../../index.js';56const duplexStream = new Duplex();
218 unmodified lines
modified:types/stdio/type.d.ts+1 added-1 removed
1import type {Readable, Writable} from 'node:stream';2import type {ReadableStream, WritableStream} from 'node:stream/web';2import type {ReadableStream, WritableStream, TransformStream} from 'node:stream/web';3import type {4 Not,5 And,6 Or,
166 unmodified lines
modified:types/transform/normalize.d.ts+1 added
1import type {TransformStream} from 'node:stream/web';2import type {Duplex} from 'node:stream';3import type {Unless} from '../utils.js';45// `options.std*: Generator`
52 unmodified lines