Update Option interface for type-checking
This commit is contained in:
1 parent
0fd6a23c78
commit
512bf1d013
1 file changed
+1
-1
Vendored
+1
-1
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user