Typescriptify main.js
This commit is contained in:
parent
e033fd2cf3
commit
9a1430a460
22 changed files with 721 additions and 524 deletions
|
@ -10,3 +10,13 @@ export function markShouldQuit(): void {
|
|||
export function shouldQuit(): boolean {
|
||||
return shouldQuitFlag;
|
||||
}
|
||||
|
||||
let isReadyForShutdown = false;
|
||||
|
||||
export function markReadyForShutdown(): void {
|
||||
isReadyForShutdown = true;
|
||||
}
|
||||
|
||||
export function readyForShutdown(): boolean {
|
||||
return isReadyForShutdown;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue