Skip to content

Commit

Permalink
Upgrade dependencies, including Electron 22.2.0.
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Feb 7, 2023
1 parent 4d3420d commit 1ac2483
Show file tree
Hide file tree
Showing 6 changed files with 417 additions and 8,095 deletions.
4 changes: 2 additions & 2 deletions app/common/config-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as EnterpriseUtil from "./enterprise-util.js";
import Logger from "./logger-util.js";

export type Config = {
[Key in keyof typeof configSchemata]: z.output<typeof configSchemata[Key]>;
[Key in keyof typeof configSchemata]: z.output<(typeof configSchemata)[Key]>;
};

const logger = new Logger({
Expand All @@ -26,7 +26,7 @@ reloadDb();
export function getConfigItem<Key extends keyof Config>(
key: Key,
defaultValue: Config[Key],
): z.output<typeof configSchemata[Key]> {
): z.output<(typeof configSchemata)[Key]> {
try {
db.reload();
} catch (error: unknown) {
Expand Down
2 changes: 1 addition & 1 deletion app/common/dnd-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as ConfigUtil from "./config-util.js";

export type DndSettings = {
[Key in keyof typeof dndSettingsSchemata]: z.output<
typeof dndSettingsSchemata[Key]
(typeof dndSettingsSchemata)[Key]
>;
};

Expand Down
2 changes: 1 addition & 1 deletion app/common/enterprise-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Logger from "./logger-util.js";

type EnterpriseConfig = {
[Key in keyof typeof enterpriseConfigSchemata]: z.output<
typeof enterpriseConfigSchemata[Key]
(typeof enterpriseConfigSchemata)[Key]
>;
};

Expand Down
Loading

0 comments on commit 1ac2483

Please sign in to comment.