diff options
author | 2021-12-31 02:39:24 +0100 | |
---|---|---|
committer | 2021-12-31 02:45:04 +0100 | |
commit | cd7833ce2400c9bb9e4b49c51c326783bfb03b75 (patch) | |
tree | de598c72f121bd375dad6e3c6a288fbf57b0f278 /packages/main/src/services | |
parent | build: Upgrade to chalk 5.0.0 anyways (diff) | |
download | sophie-cd7833ce2400c9bb9e4b49c51c326783bfb03b75.tar.gz sophie-cd7833ce2400c9bb9e4b49c51c326783bfb03b75.tar.zst sophie-cd7833ce2400c9bb9e4b49c51c326783bfb03b75.zip |
chore: Add import extensions preparing for ts 4.6 nodenext
Diffstat (limited to 'packages/main/src/services')
-rw-r--r-- | packages/main/src/services/ConfigPersistenceService.ts | 4 | ||||
-rw-r--r-- | packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/packages/main/src/services/ConfigPersistenceService.ts b/packages/main/src/services/ConfigPersistenceService.ts index b3ad162..0033cca 100644 --- a/packages/main/src/services/ConfigPersistenceService.ts +++ b/packages/main/src/services/ConfigPersistenceService.ts | |||
@@ -18,8 +18,8 @@ | |||
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.js'; |
22 | import { Disposer } from '../utils'; | 22 | import { Disposer } from '../utils/disposer.js'; |
23 | 23 | ||
24 | export type ReadConfigResult = { found: true; data: unknown; } | { found: false; }; | 24 | export type ReadConfigResult = { found: true; data: unknown; } | { found: false; }; |
25 | 25 | ||
diff --git a/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts b/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts index bffc38c..22b7d65 100644 --- a/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts +++ b/packages/main/src/services/impl/ConfigPersistenceServiceImpl.ts | |||
@@ -24,9 +24,10 @@ import JSON5 from 'json5'; | |||
24 | import throttle from 'lodash-es/throttle'; | 24 | import throttle from 'lodash-es/throttle'; |
25 | import { join } from 'path'; | 25 | import { join } from 'path'; |
26 | 26 | ||
27 | import type { ConfigPersistenceService, ReadConfigResult } from '../ConfigPersistenceService'; | 27 | import type { ConfigPersistenceService, ReadConfigResult } from '../ConfigPersistenceService.js'; |
28 | import type { ConfigSnapshotOut } from '../../stores/Config'; | 28 | import type { ConfigSnapshotOut } from '../../stores/Config.js'; |
29 | import { Disposer, getLogger } from '../../utils'; | 29 | import { Disposer } from '../../utils/disposer.js'; |
30 | import { getLogger } from '../../utils/logging.js'; | ||
30 | 31 | ||
31 | const log = getLogger('configPersistence'); | 32 | const log = getLogger('configPersistence'); |
32 | 33 | ||