diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-05-11 10:11:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 11:11:17 +0900 |
commit | 60c172cccb32eb5615e9a2060adfa6c358883f37 (patch) | |
tree | b5fac0854d80feb83f8ff89d25694f955745f484 /cli/dts/lib.deno.ns.d.ts | |
parent | 4f93cf9d758e54de0fad0787b0de20ae81b1e14b (diff) |
docs(cli/dts): fix Deno.run example (#10567)
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |