Add signal handlers (#3757)

This commit is contained in:
Yoshiya Hinosawa 2020-01-24 22:15:31 +09:00 committed by Ryan Dahl
parent a6a7253df9
commit bc89f04cbf
13 changed files with 596 additions and 2 deletions

View file

@ -296,7 +296,7 @@ enum MacOSSignal {
/** Signals numbers. This is platform dependent.
*/
export const Signal = {};
export const Signal: { [key: string]: number } = {};
export function setSignals(): void {
if (build.os === "mac") {