Merge pull request #3472 from primefaces/issue-3400

Calendar: Invalid TypeScript definitions for modelValue
pull/3509/head
Tuğçe Küçükoğlu 2023-01-09 13:14:52 +03:00 committed by GitHub
commit a287b092c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
type CalendarValueType = Date | Date[] | undefined;
type CalendarValueType = string | Date | string[] | Date[] | undefined;
type CalendarSlotDateType = { day: number; month: number; year: number; today: boolean; selectable: boolean };