We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f07c0f commit ab86b95Copy full SHA for ab86b95
packages/lib/models/Setting.ts
@@ -91,8 +91,7 @@ interface SettingSections {
91
92
interface DefaultMigration {
93
name: string;
94
- // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Old code before rule was applied
95
- previousDefault: any;
+ previousDefault: string | boolean | number;
96
}
97
98
// To create a default migration:
@@ -117,6 +116,10 @@ const defaultMigrations: DefaultMigration[] = [
117
116
name: 'themeAutoDetect',
118
previousDefault: false,
119
},
+ {
120
+ name: 'ocr.enabled',
121
+ previousDefault: false,
122
+ },
123
];
124
125
// "UserSettingMigration" are used to migrate existing user setting to a new setting. With a way
0 commit comments