From 60c172cccb32eb5615e9a2060adfa6c358883f37 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 11 May 2021 10:11:17 +0800 Subject: docs(cli/dts): fix Deno.run example (#10567) --- cli/dts/lib.deno.ns.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/dts/lib.deno.ns.d.ts') diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index 664fcd5a4..535bae4aa 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -1995,7 +1995,7 @@ declare namespace Deno { * `stderr` use: * * ```ts - * const p = Deno.run({ cmd, stderr: 'piped', stdout: 'piped' }); + * const p = Deno.run({ cmd: [ "echo", "hello world" ], stderr: 'piped', stdout: 'piped' }); * const [status, stdout, stderr] = await Promise.all([ * p.status(), * p.output(), -- cgit v1.2.3