diff options
author | Geert-Jan Zwiers <34610306+GJZwiers@users.noreply.github.com> | 2022-02-22 20:41:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 20:41:59 +0100 |
commit | 6613a312b160374ba7a86c3b88fb67c0fe4247e0 (patch) | |
tree | 6ee0ccf2a24f705fc37543e80d06400704fe8627 /cli/dts/lib.deno.ns.d.ts | |
parent | 877c0b724e57211c63505d932ebf6f1051a9c2f1 (diff) |
docs: code example to `structuredClone`, `CompressionStream`, `DecompressionStream` (#13719)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/dts/lib.deno.ns.d.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cli/dts/lib.deno.ns.d.ts b/cli/dts/lib.deno.ns.d.ts index d759bdd58..14cf2a316 100644 --- a/cli/dts/lib.deno.ns.d.ts +++ b/cli/dts/lib.deno.ns.d.ts @@ -2910,11 +2910,13 @@ declare namespace Deno { * If `pid` is negative, the signal will be sent to the process group * identified by `pid`. * - * const p = Deno.run({ - * cmd: ["sleep", "10000"] - * }); + * ```ts + * const p = Deno.run({ + * cmd: ["sleep", "10000"] + * }); * - * Deno.kill(p.pid, "SIGINT"); + * Deno.kill(p.pid, "SIGINT"); + * ``` * * Requires `allow-run` permission. */ export function kill(pid: number, signo: Signal): void; |