diff options
Diffstat (limited to 'packages/shared/src/stores/ProfileSettings.ts')
-rw-r--r-- | packages/shared/src/stores/ProfileSettings.ts | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/shared/src/stores/ProfileSettings.ts b/packages/shared/src/stores/ProfileSettings.ts index ec8da5f..9f2b27c 100644 --- a/packages/shared/src/stores/ProfileSettings.ts +++ b/packages/shared/src/stores/ProfileSettings.ts | |||
@@ -20,14 +20,20 @@ | |||
20 | 20 | ||
21 | import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree'; | 21 | import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree'; |
22 | 22 | ||
23 | export const profileSettings = types.model('ProfileSettings', { | 23 | const ProfileSettings = types.model('ProfileSettings', { |
24 | name: types.string, | 24 | name: types.string, |
25 | }); | 25 | }); |
26 | 26 | ||
27 | export interface ProfileSettings extends Instance<typeof profileSettings> {} | 27 | /* |
28 | eslint-disable-next-line @typescript-eslint/no-redeclare -- | ||
29 | Intentionally naming the type the same as the store definition. | ||
30 | */ | ||
31 | interface ProfileSettings extends Instance<typeof ProfileSettings> {} | ||
32 | |||
33 | export default ProfileSettings; | ||
28 | 34 | ||
29 | export interface ProfileSettingsSnapshotIn | 35 | export interface ProfileSettingsSnapshotIn |
30 | extends SnapshotIn<typeof profileSettings> {} | 36 | extends SnapshotIn<typeof ProfileSettings> {} |
31 | 37 | ||
32 | export interface ProfileSettingsSnapshotOut | 38 | export interface ProfileSettingsSnapshotOut |
33 | extends SnapshotOut<typeof profileSettings> {} | 39 | extends SnapshotOut<typeof ProfileSettings> {} |