diff options
Diffstat (limited to 'packages/shared/src/stores')
-rw-r--r-- | packages/shared/src/stores/Config.ts | 7 | ||||
-rw-r--r-- | packages/shared/src/stores/SharedStore.ts | 3 |
2 files changed, 3 insertions, 7 deletions
diff --git a/packages/shared/src/stores/Config.ts b/packages/shared/src/stores/Config.ts index 432945c..1d98a33 100644 --- a/packages/shared/src/stores/Config.ts +++ b/packages/shared/src/stores/Config.ts | |||
@@ -18,12 +18,7 @@ | |||
18 | * SPDX-License-Identifier: AGPL-3.0-only | 18 | * SPDX-License-Identifier: AGPL-3.0-only |
19 | */ | 19 | */ |
20 | 20 | ||
21 | import { | 21 | import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree'; |
22 | Instance, | ||
23 | types, | ||
24 | SnapshotIn, | ||
25 | SnapshotOut, | ||
26 | } from 'mobx-state-tree'; | ||
27 | 22 | ||
28 | import { themeSource } from '../schemas'; | 23 | import { themeSource } from '../schemas'; |
29 | 24 | ||
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts index c6c3ddc..cb14394 100644 --- a/packages/shared/src/stores/SharedStore.ts +++ b/packages/shared/src/stores/SharedStore.ts | |||
@@ -37,7 +37,8 @@ export interface SharedStore extends Instance<typeof sharedStore> {} | |||
37 | 37 | ||
38 | export interface SharedStoreSnapshotIn extends SnapshotIn<typeof sharedStore> {} | 38 | export interface SharedStoreSnapshotIn extends SnapshotIn<typeof sharedStore> {} |
39 | 39 | ||
40 | export interface SharedStoreSnapshotOut extends SnapshotOut<typeof sharedStore> {} | 40 | export interface SharedStoreSnapshotOut |
41 | extends SnapshotOut<typeof sharedStore> {} | ||
41 | 42 | ||
42 | export interface SharedStoreListener { | 43 | export interface SharedStoreListener { |
43 | onSnapshot(snapshot: SharedStoreSnapshotIn): void; | 44 | onSnapshot(snapshot: SharedStoreSnapshotIn): void; |