Skip to content

Commit

Permalink
fix: Wrong slot types (fixes #854)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasenkoo committed May 6, 2024
1 parent 899d99f commit 441a8c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ interface SidebarSlotProps {
time?: InternalTime;
updateTime?: (value: number | number[], isHours?: boolean, isSeconds?: boolean) => void;
updateMonthYear?: (instance: number, val: { month: number; year: number; fromNav?: boolean }) => void;
selectDate?: (day: { value: Date }, isNext: boolean = false) => {};
presetDate?: (value: Date[] | string[] | Date | string, noTz?: boolea) => void;
selectDate?: (day: { value: Date }, isNext?: boolean) => {};
presetDate?: (value: Date[] | string[] | Date | string, noTz?: boolean) => void;
getModelMonthYear?: () => { month: number | null; year: number | null }[];
selectMonth?: (month: number, instance: number) => void;
selectYear?: (year: number, instance: number) => void;
Expand Down Expand Up @@ -422,14 +422,14 @@ interface Slots {
months?: { value: number; text: string; className?: Record<string, boolean> }[];
years?: { value: number; text: string; className?: Record<string, boolean> }[];
updateMonthYear?: (month: number, year: number, fromNav: boolean) => void;
handleMonthYearChange?: (isNext: boolean, fromNav = false) => void;
handleMonthYearChange?: (isNext: boolean, fromNav?: boolean) => void;
instance?: number;
selectMonth?: (month: number, instance: number) => void;
selectYear?: (year: number, instance: number) => void;
}): any;
'time-picker'(props: {
time: InternalTime;
updateTime: (value: number | number[], isHours = true, isSeconds = false) => void;
updateTime: (value: number | number[], isHours?: boolean, isSeconds?: boolean) => void;
}): any;
'action-row'(props: {
internalModelValue: InternalModelValue;
Expand Down

0 comments on commit 441a8c6

Please sign in to comment.