Move all files under /app to typescript

This commit is contained in:
Scott Nonnenberg 2021-06-18 10:04:27 -07:00 committed by GitHub
parent 7bb6ad534f
commit 24960d481e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 745 additions and 620 deletions

12
app/window_state.ts Normal file
View 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;
}