diff --git a/src/plugins/datepicker.ts b/src/plugins/datepicker.ts index 71fc988d1..cb16a453a 100644 --- a/src/plugins/datepicker.ts +++ b/src/plugins/datepicker.ts @@ -13,7 +13,7 @@ export interface DatePickerOptions { * Platforms: iOS, Android, Windows * Selected date */ - date: Date; + date: Date | string | number; /** * Platforms: iOS, Android, Windows @@ -21,7 +21,7 @@ export interface DatePickerOptions { * Type: Date | empty String * Default: empty String */ - minDate?: Date; + minDate?: Date | string | number; /** * Platforms?: iOS, Android, Windows @@ -29,7 +29,7 @@ export interface DatePickerOptions { * Type?: Date | empty String * Default?: empty String */ - maxDate?: Date; + maxDate?: Date | string | number; /** * Platforms?: Android