mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
updated moment definitions
it is available to pass Moment[] to moment.min , moment.max
This commit is contained in:
1 parent
7b3d5a6ea5
commit
a0d16bdaf9
1 file changed
+2
Vendored
+2
@@ -510,7 +510,9 @@ declare module moment {
|
||||
weekdaysMin(format: string, index: number): string;
|
||||
|
||||
min(...moments: Moment[]): Moment;
|
||||
min(moments: Moment[]): Moment;
|
||||
max(...moments: Moment[]): Moment;
|
||||
max(moments: Moment[]): Moment;
|
||||
|
||||
normalizeUnits(unit: string): string;
|
||||
relativeTimeThreshold(threshold: string): number | boolean;
|
||||
|
||||
Reference in new issue
Block a user