mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 05:04:48 +00:00
feat: make Child.kill argument optional (#14669)
This commit is contained in:
parent
4e1ca1d178
commit
5ffcbcfcc8
3 changed files with 26 additions and 3 deletions
4
cli/dts/lib.deno.unstable.d.ts
vendored
4
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue