mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Merge pull request #6264 from cprecioso/patch-1
[moment] Min and max use rest arguments
This commit is contained in:
commit
a12f2e7e13
1 file changed
+2
-2
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user