You've already forked AstralRinth
forked from didirus/AstralRinth
Update Option interface for type-checking
This commit is contained in:
2
src/package/components/types.d.ts
vendored
2
src/package/components/types.d.ts
vendored
@@ -4,5 +4,5 @@ export interface Option {
|
|||||||
label: string
|
label: string
|
||||||
/** The element that will be in the `value` array while the option is checked */
|
/** The element that will be in the `value` array while the option is checked */
|
||||||
value: string | number
|
value: string | number
|
||||||
icon?: SvelteComponentDev | string
|
icon?: SvelteComponentDev | string | any // SvelteComponentDev fails to type check
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user