Skip to content

Commit 94dbdde

Browse files
committed
fix: Wrong type for year slot (fixes #867)
1 parent 85a1002 commit 94dbdde

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
@@ -401,7 +401,7 @@ interface Slots {
401401
hours(props: { text: string; value: number }): any;
402402
minutes(props: { text: string; value: number }): any;
403403
month(props: { text: string; value: number }): any;
404-
year(props: { year: number }): any;
404+
year(props: { text: string; value: number }): any;
405405
'action-buttons'(props: { value: InternalModelValue }): any;
406406
'action-preview'(props: { value: InternalModelValue }): any;
407407
'calendar-header'(props: { day: string; index: number }): any;

0 commit comments

Comments
 (0)