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/main/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/main/src/stores')
-rw-r--r-- | packages/main/src/stores/MainStore.ts | 4 | ||||
-rw-r--r-- | packages/main/src/stores/SharedStore.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/main/src/stores/MainStore.ts b/packages/main/src/stores/MainStore.ts index bab03c2..5a60585 100644 --- a/packages/main/src/stores/MainStore.ts +++ b/packages/main/src/stores/MainStore.ts | |||
@@ -21,8 +21,8 @@ | |||
21 | import { applySnapshot, Instance, types } from 'mobx-state-tree'; | 21 | import { applySnapshot, Instance, types } from 'mobx-state-tree'; |
22 | import { BrowserViewBounds } from '@sophie/shared'; | 22 | import { BrowserViewBounds } from '@sophie/shared'; |
23 | 23 | ||
24 | import type { Config } from './Config'; | 24 | import type { Config } from './Config.js'; |
25 | import { sharedStore } from './SharedStore'; | 25 | import { sharedStore } from './SharedStore.js'; |
26 | 26 | ||
27 | export const mainStore = types.model('MainStore', { | 27 | export const mainStore = types.model('MainStore', { |
28 | browserViewBounds: types.optional(types.model('BrowserViewBounds', { | 28 | browserViewBounds: types.optional(types.model('BrowserViewBounds', { |
diff --git a/packages/main/src/stores/SharedStore.ts b/packages/main/src/stores/SharedStore.ts index e20150d..31b8551 100644 --- a/packages/main/src/stores/SharedStore.ts +++ b/packages/main/src/stores/SharedStore.ts | |||
@@ -21,7 +21,7 @@ | |||
21 | import { Instance, types } from 'mobx-state-tree'; | 21 | import { Instance, types } from 'mobx-state-tree'; |
22 | import { sharedStore as originalSharedStore } from '@sophie/shared'; | 22 | import { sharedStore as originalSharedStore } from '@sophie/shared'; |
23 | 23 | ||
24 | import { config } from './Config'; | 24 | import { config } from './Config.js'; |
25 | 25 | ||
26 | export type { SharedStoreSnapshotIn, SharedStoreSnapshotOut } from '@sophie/shared'; | 26 | export type { SharedStoreSnapshotIn, SharedStoreSnapshotOut } from '@sophie/shared'; |
27 | 27 | ||