Skip to content

Commit

Permalink
fix(datepicker): date now accepts Date, string, or number (#428)
Browse files Browse the repository at this point in the history
closes #354
  • Loading branch information
ihadeed committed Aug 15, 2016
1 parent c9b76c4 commit aaddd9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/datepicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ export interface DatePickerOptions {
* Platforms: iOS, Android, Windows
* Selected date
*/
date: Date;
date: Date | string | number;

/**
* Platforms: iOS, Android, Windows
* Minimum date
* Type: Date | empty String
* Default: empty String
*/
minDate?: Date;
minDate?: Date | string | number;

/**
* Platforms?: iOS, Android, Windows
* Maximum date
* Type?: Date | empty String
* Default?: empty String
*/
maxDate?: Date;
maxDate?: Date | string | number;

/**
* Platforms?: Android
Expand Down

0 comments on commit aaddd9e

Please sign in to comment.