From 2e9e12ee6e7754ed60966d43ddc5f7d4635570af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Wed, 9 Aug 2023 16:21:03 +0300 Subject: [PATCH] Fixed #4216 - Dropdown: clearicon slot prop onClick has invalid type --- components/lib/dropdown/Dropdown.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/dropdown/Dropdown.d.ts b/components/lib/dropdown/Dropdown.d.ts index 4147e3a70..9fb8e647d 100755 --- a/components/lib/dropdown/Dropdown.d.ts +++ b/components/lib/dropdown/Dropdown.d.ts @@ -566,7 +566,7 @@ export interface DropdownSlots { /** * Clear icon click function. */ - onClick: void; + onClick: (event: MouseEvent) => void; }): VNode[]; /** * Custom dropdown icon template.