Skip to content

Commit ec8908a

Browse files
committed
fix: Add clear slot prop type (fixes #842)
1 parent a96bc12 commit ec8908a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ interface Slots {
442442
'top-extra'(props: { value: InternalModelValue }): any;
443443
trigger(): any;
444444
'input-icon'(): any;
445-
'clear-icon'(): any;
445+
'clear-icon'(props: { clear: (ev?: Event) => void }): any;
446446
'dp-input'(props: {
447447
value: string;
448448
isMenuOpen: boolean;

0 commit comments

Comments
 (0)