Skip to content

Commit 1ac2483

Browse files
committed
Upgrade dependencies, including Electron 22.2.0.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 4d3420d commit 1ac2483

File tree

6 files changed

+417
-8095
lines changed

6 files changed

+417
-8095
lines changed

app/common/config-util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import * as EnterpriseUtil from "./enterprise-util.js";
1212
import Logger from "./logger-util.js";
1313

1414
export type Config = {
15-
[Key in keyof typeof configSchemata]: z.output<typeof configSchemata[Key]>;
15+
[Key in keyof typeof configSchemata]: z.output<(typeof configSchemata)[Key]>;
1616
};
1717

1818
const logger = new Logger({
@@ -26,7 +26,7 @@ reloadDb();
2626
export function getConfigItem<Key extends keyof Config>(
2727
key: Key,
2828
defaultValue: Config[Key],
29-
): z.output<typeof configSchemata[Key]> {
29+
): z.output<(typeof configSchemata)[Key]> {
3030
try {
3131
db.reload();
3232
} catch (error: unknown) {

app/common/dnd-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as ConfigUtil from "./config-util.js";
77

88
export type DndSettings = {
99
[Key in keyof typeof dndSettingsSchemata]: z.output<
10-
typeof dndSettingsSchemata[Key]
10+
(typeof dndSettingsSchemata)[Key]
1111
>;
1212
};
1313

app/common/enterprise-util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Logger from "./logger-util.js";
99

1010
type EnterpriseConfig = {
1111
[Key in keyof typeof enterpriseConfigSchemata]: z.output<
12-
typeof enterpriseConfigSchemata[Key]
12+
(typeof enterpriseConfigSchemata)[Key]
1313
>;
1414
};
1515

0 commit comments

Comments
 (0)