1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Improve typings for enhanced select options

This commit is contained in:
Bogdan
2025-04-18 12:46:58 +03:00
committed by Mark McDowall
parent e537a2dc8f
commit 9fdf545f47
24 changed files with 78 additions and 48 deletions
@@ -4,6 +4,7 @@ import Form from 'Components/Form/Form';
import FormGroup from 'Components/Form/FormGroup';
import FormInputGroup from 'Components/Form/FormInputGroup';
import FormLabel from 'Components/Form/FormLabel';
import { EnhancedSelectInputValue } from 'Components/Form/Select/EnhancedSelectInput';
import Button from 'Components/Link/Button';
import ModalBody from 'Components/Modal/ModalBody';
import ModalContent from 'Components/Modal/ModalContent';
@@ -14,7 +15,7 @@ import { setSeriesOverviewOption } from 'Store/Actions/seriesIndexActions';
import translate from 'Utilities/String/translate';
import selectOverviewOptions from '../selectOverviewOptions';
const posterSizeOptions = [
const posterSizeOptions: EnhancedSelectInputValue<string>[] = [
{
key: 'small',
get value() {