chore: Graceful server shutdown, closes #2507

This commit is contained in:
Tom Moor
2021-08-29 14:48:12 -07:00
parent 3dfd336f59
commit 2024c6e64f
4 changed files with 21 additions and 3 deletions

View File

@ -3,6 +3,9 @@ declare var process: {
exit: (code?: number) => void,
cwd: () => string,
argv: Array<string>,
on: (event: string, listener: Function) => void,
once: (event: string, listener: Function) => void,
off: (event: string, listener: Function) => void,
env: {
[string]: string,
},