Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit 1e87034

Browse files
committed
fix(@types/select): When value is mandatory & multiple false, value can be null
1 parent 8cf5175 commit 1e87034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-materialify/@types/Select.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ interface SelectProps {
99
* Value of the select.
1010
* If multiple is true, this will be an array; otherwise a single value.
1111
*/
12-
value?: (number[] | string[]) | number | string;
12+
value?: number[] | string[] | number | string | null;
1313
/** List of items to select from. */
1414
items?: { name: string | number, value: string | number }[];
1515
/** Whether select is the `filled` material design variant. */

0 commit comments

Comments
 (0)