aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores')
-rw-r--r--src/stores/SettingsStore.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stores/SettingsStore.ts b/src/stores/SettingsStore.ts
index 72d6331cb..29f173f91 100644
--- a/src/stores/SettingsStore.ts
+++ b/src/stores/SettingsStore.ts
@@ -183,8 +183,10 @@ export default class SettingsStore extends TypedStore {
183 } 183 }
184 } 184 }
185 185
186 // eslint-disable-next-line @typescript-eslint/ban-types 186 _ensureMigrationAndMarkDone(
187 _ensureMigrationAndMarkDone(migrationName: string, callback: Function): void { 187 migrationName: string,
188 callback: () => void,
189 ): void {
188 if (!this.all.migration[migrationName]) { 190 if (!this.all.migration[migrationName]) {
189 callback(); 191 callback();
190 192