diff options
Diffstat (limited to 'packages/main/src/services/ConfigPersistenceService.ts')
-rw-r--r-- | packages/main/src/services/ConfigPersistenceService.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/main/src/services/ConfigPersistenceService.ts b/packages/main/src/services/ConfigPersistenceService.ts index aed0ba3..7d508c5 100644 --- a/packages/main/src/services/ConfigPersistenceService.ts +++ b/packages/main/src/services/ConfigPersistenceService.ts | |||
@@ -18,12 +18,12 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | import type { ConfigSnapshotOut } from '../stores/Config'; | 21 | import type { ConfigSnapshotOut } from '../stores/Config'; |
22 | import { Disposer } from '../utils/disposer'; | 22 | import type Disposer from '../utils/Disposer'; |
23 | 23 | ||
24 | export type ReadConfigResult = { found: true; data: unknown; } | { found: false; }; | 24 | export type ReadConfigResult = { found: true; data: unknown; } | { found: false; }; |
25 | 25 | ||
26 | export interface ConfigPersistenceService { | 26 | export default interface ConfigPersistenceService { |
27 | readConfig(): Promise<ReadConfigResult>; | 27 | readConfig(): Promise<ReadConfigResult>; |
28 | 28 | ||
29 | writeConfig(configSnapshot: ConfigSnapshotOut): Promise<void>; | 29 | writeConfig(configSnapshot: ConfigSnapshotOut): Promise<void>; |