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:
@@ -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>,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user