diff options
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/lib.deno.ns.d.ts | 4 | ||||
-rw-r--r-- | cli/js/process.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 82b3fc829..2137ce336 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -1804,10 +1804,10 @@ declare namespace Deno { : (Writer & Closer) | null; readonly stdout: T["stdout"] extends "piped" ? Reader & Closer - : (Writer & Closer) | null; + : (Reader & Closer) | null; readonly stderr: T["stderr"] extends "piped" ? Reader & Closer - : (Writer & Closer) | null; + : (Reader & Closer) | null; /** Resolves to the current status of the process. */ status(): Promise<ProcessStatus>; /** Buffer the stdout until EOF and return it as `Uint8Array`. diff --git a/cli/js/process.ts b/cli/js/process.ts index ff9251697..6f45081dc 100644 --- a/cli/js/process.ts +++ b/cli/js/process.ts @@ -38,10 +38,10 @@ export class Process<T extends RunOptions = RunOptions> { : (Writer & Closer) | null; readonly stdout!: T["stdout"] extends "piped" ? Reader & Closer - : (Writer & Closer) | null; + : (Reader & Closer) | null; readonly stderr!: T["stderr"] extends "piped" ? Reader & Closer - : (Writer & Closer) | null; + : (Reader & Closer) | null; // @internal constructor(res: RunResponse) { |