summaryrefslogtreecommitdiff
path: root/cli/dts
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2022-05-19 14:05:57 +0200
committerGitHub <noreply@github.com>2022-05-19 14:05:57 +0200
commit5ffcbcfcc84b9cce891acb165bc7644ec4a0fe64 (patch)
tree082a7f4e4d585f97f6a73d620abdd5af6f734f7a /cli/dts
parent4e1ca1d1787f25ab9f0a72ccf9d8028f70b3a7ed (diff)
feat: make Child.kill argument optional (#14669)
Diffstat (limited to 'cli/dts')
-rw-r--r--cli/dts/lib.deno.unstable.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts
index bb93eac8d..e21c2afce 100644
--- a/cli/dts/lib.deno.unstable.d.ts
+++ b/cli/dts/lib.deno.unstable.d.ts
@@ -1060,8 +1060,8 @@ declare namespace Deno {
/** Waits for the child to exit completely, returning all its output and status. */
output(): Promise<SpawnOutput<T>>;
- /** Kills the process with given Signal. */
- kill(signo: Signal): void;
+ /** Kills the process with given Signal. Defaults to SIGTERM. */
+ kill(signo?: Signal): void;
}
/**