1
0

Update Option interface for type-checking

This commit is contained in:
venashial
2022-05-31 19:13:36 -07:00
parent 0fd6a23c78
commit 512bf1d013

View File

@@ -4,5 +4,5 @@ export interface Option {
label: string
/** The element that will be in the `value` array while the option is checked */
value: string | number
icon?: SvelteComponentDev | string
icon?: SvelteComponentDev | string | any // SvelteComponentDev fails to type check
}