diff options
Diffstat (limited to '')
-rw-r--r-- | frontend/src/lib/components/Select.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/lib/components/Select.svelte b/frontend/src/lib/components/Select.svelte index 413b50c..227959d 100644 --- a/frontend/src/lib/components/Select.svelte +++ b/frontend/src/lib/components/Select.svelte @@ -8,7 +8,8 @@ let valueAsObject = false; let multiple = false; - type Value = (number | string | ListItem)[] | number | string | ListItem | undefined | null; + type Item = number | string | ListItem; + type Value = Item | Item[] | undefined | null; export let clearable = false; export let placeholder = 'Select...'; |