Move all files under /app to typescript
This commit is contained in:
parent
7bb6ad534f
commit
24960d481e
40 changed files with 745 additions and 620 deletions
12
app/window_state.ts
Normal file
12
app/window_state.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Copyright 2017-2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
let shouldQuitFlag = false;
|
||||
|
||||
export function markShouldQuit(): void {
|
||||
shouldQuitFlag = true;
|
||||
}
|
||||
|
||||
export function shouldQuit(): boolean {
|
||||
return shouldQuitFlag;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue