Skip to content

Commit

Permalink
Merge pull request #343 from lookapanda/setYear-typings-fix
Browse files Browse the repository at this point in the history
Fix missing argument for setYear in typings
  • Loading branch information
dmtrKovalenko authored Apr 9, 2018
2 parents 8f0b40b + 9445ab8 commit 53a91a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/src/typings/utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Utils {
setMinutes(value: MaterialUiPickersDate, count: number): MaterialUiPickersDate
getMonth(value: MaterialUiPickersDate): number;
getYear(value: MaterialUiPickersDate): number;
setYear(value: MaterialUiPickersDate): MaterialUiPickersDate;
setYear(value: MaterialUiPickersDate, count: number): MaterialUiPickersDate;

getStartOfMonth(value: MaterialUiPickersDate): MaterialUiPickersDate;
getNextMonth(value: MaterialUiPickersDate): MaterialUiPickersDate;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/date-fns-utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ declare class DateFnsUtils extends Utils {
setMinutes(value: Date, count: number): Date
getMonth(value: Date): number;
getYear(value: Date): number;
setYear(value: Date): Date;
setYear(value: Date, count: number): Date;

getStartOfMonth(value: Date): Date;
getNextMonth(value: Date): Date;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/moment-utils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ declare class MomentUtils extends Utils {
setMinutes(value: Moment, count: number): Moment
getMonth(value: Moment): number;
getYear(value: Moment): number;
setYear(value: Moment): Moment;
setYear(value: Moment, count: number): Moment;

getStartOfMonth(value: Moment): Moment;
getNextMonth(value: Moment): Moment;
Expand Down

0 comments on commit 53a91a3

Please sign in to comment.