Skip to content

Commit dbbc15d

Browse files
committed
chore: Update types
1 parent 10eb8e3 commit dbbc15d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type {
55
ComputedOptions,
66
ComputedRef,
77
DefineComponent,
8+
MaybeRefOrGetter,
89
MethodOptions,
910
Ref,
1011
} from 'vue';
@@ -172,6 +173,7 @@ export interface VueDatePickerProps {
172173
hideInputIcon?: boolean;
173174
state?: boolean;
174175
clearable?: boolean;
176+
alwaysClearable?: boolean;
175177
autoApply?: boolean;
176178
filters?: {
177179
months?: number[];
@@ -233,7 +235,7 @@ export interface VueDatePickerProps {
233235
multiDates?: boolean | { limit?: number | string; dragSelect?: boolean };
234236
presetDates?: {
235237
label: string;
236-
value: Date[] | string[] | string | Date;
238+
value: MaybeRefOrGetter<Date[] | string[] | string | Date>;
237239
style?: Record<string, string>;
238240
slot?: string;
239241
noTz?: boolean;
@@ -408,6 +410,7 @@ export interface Slots {
408410
instance?: number;
409411
selectMonth?: (month: number, instance: number) => void;
410412
selectYear?: (year: number, instance: number) => void;
413+
isDisabled?: (next: boolean) => boolean;
411414
}): any;
412415
'time-picker'(props: {
413416
time: InternalTime;

0 commit comments

Comments
 (0)