Merge pull request #6264 from cprecioso/patch-1

[moment] Min and max use rest arguments
This commit is contained in:
Horiuchi_H
2015-10-14 10:43:42 +09:00
+2 -2
View File
@@ -453,8 +453,8 @@ declare module moment {
weekdaysMin(format: string): string[];
weekdaysMin(format: string, index: number): string;
min(moments: Moment[]): Moment;
max(moments: Moment[]): Moment;
min(...moments: Moment[]): Moment;
max(...moments: Moment[]): Moment;
normalizeUnits(unit: string): string;
relativeTimeThreshold(threshold: string): number|boolean;