Skip to content

Commit 3c2931e

Browse files
committed
refactor: Adjust type for markers
1 parent d8cfe85 commit 3c2931e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export interface VueDatePicker {
174174
markers?: {
175175
date: Date | string;
176176
type?: 'dot' | 'line';
177-
tooltip?: { text: string; color?: string }[];
177+
tooltip?: { text?: string; html?: string; color?: string }[];
178178
color?: string;
179179
}[];
180180
transitions?:

src/VueDatePicker/interfaces.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export interface OnClickOutsideOptions<E extends keyof OnClickOutsideEvents> ext
117117
export interface IMarker {
118118
date: Date | string;
119119
type?: 'dot' | 'line';
120-
tooltip?: { text: string; color?: string }[];
120+
tooltip?: { text?: string; html?: string; color?: string }[];
121121
color?: string;
122122
}
123123

0 commit comments

Comments
 (0)