From 5ffcbcfcc84b9cce891acb165bc7644ec4a0fe64 Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Thu, 19 May 2022 14:05:57 +0200 Subject: feat: make Child.kill argument optional (#14669) --- cli/dts/lib.deno.unstable.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/dts') 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>; - /** Kills the process with given Signal. */ - kill(signo: Signal): void; + /** Kills the process with given Signal. Defaults to SIGTERM. */ + kill(signo?: Signal): void; } /** -- cgit v1.2.3