Skip to content

Commit

Permalink
Merge pull request #57 from mcdado/update-definitions-file
Browse files Browse the repository at this point in the history
Update definitions file
  • Loading branch information
eduolalo authored Nov 13, 2018
2 parents f65b61c + 68ecab3 commit b99d954
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare module 'moment' {
isHoliday: () => boolean;
isBusinessDay: () => boolean;

businessDaysIntoMonth: () => Moment;
businessDaysIntoMonth: () => number;

businessDiff: (param: Moment) => number;
businessAdd: (param: number, period?: unitOfTime.Base) => Moment;
Expand All @@ -25,3 +25,5 @@ declare module 'moment' {
holidayFormat?: string;
}
}

export = moment;

0 comments on commit b99d954

Please sign in to comment.