summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.ns.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/dts/lib.deno.ns.d.ts')
-rw-r--r--cli/dts/lib.deno.ns.d.ts10
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;