From 512bf1d0130719fd5e4bfe065bbf889a769401ba Mon Sep 17 00:00:00 2001 From: venashial Date: Tue, 31 May 2022 19:13:36 -0700 Subject: [PATCH] Update Option interface for type-checking --- src/package/components/types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package/components/types.d.ts b/src/package/components/types.d.ts index a7aeb74b..bf06ad82 100644 --- a/src/package/components/types.d.ts +++ b/src/package/components/types.d.ts @@ -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 }