mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-30 05:10:53 +01:00
Upgrade Prettier to 2.4.1
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
// Copyright 2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
export async function awaitObject<Result extends { [key: string]: unknown }>(
|
||||
settings: {
|
||||
[key in keyof Result]: Promise<Result[key]>;
|
||||
}
|
||||
): Promise<Result> {
|
||||
export async function awaitObject<
|
||||
Result extends { [key: string]: unknown }
|
||||
>(settings: {
|
||||
[key in keyof Result]: Promise<Result[key]>;
|
||||
}): Promise<Result> {
|
||||
const keys = Object.keys(settings);
|
||||
const promises = new Array<Promise<unknown>>();
|
||||
for (const key of keys) {
|
||||
|
||||
Reference in New Issue
Block a user