diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-12-31 02:39:24 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2021-12-31 02:45:04 +0100 |
commit | cd7833ce2400c9bb9e4b49c51c326783bfb03b75 (patch) | |
tree | de598c72f121bd375dad6e3c6a288fbf57b0f278 /packages/shared/src/stores | |
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/shared/src/stores')
-rw-r--r-- | packages/shared/src/stores/Config.ts | 2 | ||||
-rw-r--r-- | packages/shared/src/stores/SharedStore.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/shared/src/stores/Config.ts b/packages/shared/src/stores/Config.ts index 432945c..4b17d3c 100644 --- a/packages/shared/src/stores/Config.ts +++ b/packages/shared/src/stores/Config.ts | |||
@@ -25,7 +25,7 @@ import { | |||
25 | SnapshotOut, | 25 | SnapshotOut, |
26 | } from 'mobx-state-tree'; | 26 | } from 'mobx-state-tree'; |
27 | 27 | ||
28 | import { themeSource } from '../schemas'; | 28 | import { themeSource } from '../schemas.js'; |
29 | 29 | ||
30 | export const config = types.model('Config', { | 30 | export const config = types.model('Config', { |
31 | themeSource: types.optional(types.enumeration(themeSource.options), 'system'), | 31 | themeSource: types.optional(types.enumeration(themeSource.options), 'system'), |
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts index c6c3ddc..8aefcdb 100644 --- a/packages/shared/src/stores/SharedStore.ts +++ b/packages/shared/src/stores/SharedStore.ts | |||
@@ -26,7 +26,7 @@ import { | |||
26 | SnapshotOut, | 26 | SnapshotOut, |
27 | } from 'mobx-state-tree'; | 27 | } from 'mobx-state-tree'; |
28 | 28 | ||
29 | import { config } from './Config'; | 29 | import { config } from './Config.js'; |
30 | 30 | ||
31 | export const sharedStore = types.model('SharedStore', { | 31 | export const sharedStore = types.model('SharedStore', { |
32 | config: types.optional(config, {}), | 32 | config: types.optional(config, {}), |