1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-27 23:06:29 -04:00

Convert Indexer settings to TypeScript

This commit is contained in:
Mark McDowall
2025-01-01 00:33:01 -08:00
parent 27f81117ed
commit 6e008a8e85
32 changed files with 1156 additions and 1575 deletions
@@ -9,6 +9,7 @@ import AppState from 'App/State/AppState';
import selectSettings, {
ModelBaseSetting,
} from 'Store/Selectors/selectSettings';
import { PendingSection } from 'typings/pending';
import getSectionState from 'Utilities/State/getSectionState';
type SchemaState<T> = AppSectionSchemaState<T> | AppSectionItemSchemaState<T>;
@@ -73,7 +74,7 @@ function selector<
isTesting,
...settings,
pendingChanges,
item: settings.settings,
item: settings.settings as PendingSection<T>,
};
}