aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/ProfileSettings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/ProfileSettings.ts')
-rw-r--r--packages/shared/src/stores/ProfileSettings.ts14
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
21import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree'; 21import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree';
22 22
23export const profileSettings = types.model('ProfileSettings', { 23const ProfileSettings = types.model('ProfileSettings', {
24 name: types.string, 24 name: types.string,
25}); 25});
26 26
27export 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*/
31interface ProfileSettings extends Instance<typeof ProfileSettings> {}
32
33export default ProfileSettings;
28 34
29export interface ProfileSettingsSnapshotIn 35export interface ProfileSettingsSnapshotIn
30 extends SnapshotIn<typeof profileSettings> {} 36 extends SnapshotIn<typeof ProfileSettings> {}
31 37
32export interface ProfileSettingsSnapshotOut 38export interface ProfileSettingsSnapshotOut
33 extends SnapshotOut<typeof profileSettings> {} 39 extends SnapshotOut<typeof ProfileSettings> {}