diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 74d3ffb0b4..90a12ad420 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -4003,11 +4003,14 @@ declare namespace Deno { * "console.log('Hello World')", * ], * stdin: "piped", + * stdout: "piped", * }); * const child = command.spawn(); * * // open a file and pipe the subprocess output to it. - * child.stdout.pipeTo(Deno.openSync("output").writable); + * child.stdout.pipeTo( + * Deno.openSync("output", { write: true, create: true }).writable, + * ); * * // manually close stdin * child.stdin.close();