Add no-misused/floating-promises lint rule
This commit is contained in:
parent
1a68c3db62
commit
ed271d92ea
150 changed files with 1296 additions and 991 deletions
|
@ -1,13 +1,13 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export function markEverDone(): void {
|
||||
window.storage.put('chromiumRegistrationDoneEver', '');
|
||||
export async function markEverDone(): Promise<void> {
|
||||
await window.storage.put('chromiumRegistrationDoneEver', '');
|
||||
}
|
||||
|
||||
export function markDone(): void {
|
||||
markEverDone();
|
||||
window.storage.put('chromiumRegistrationDone', '');
|
||||
export async function markDone(): Promise<void> {
|
||||
await markEverDone();
|
||||
await window.storage.put('chromiumRegistrationDone', '');
|
||||
}
|
||||
|
||||
export async function remove(): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue