mirror of
https://github.com/denoland/deno.git
synced 2025-10-01 06:31:15 +00:00
fix(cli/js/process): Fix process socket types (#6676)
This commit is contained in:
parent
9e0bc25142
commit
61d9952ff9
2 changed files with 4 additions and 4 deletions
4
cli/js/lib.deno.ns.d.ts
vendored
4
cli/js/lib.deno.ns.d.ts
vendored
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue