mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
moment: added min
This commit is contained in:
Vendored
+7
@@ -173,6 +173,13 @@ interface Moment {
|
||||
max(date: string, format: string): Moment;
|
||||
max(clone: Moment): Moment;
|
||||
|
||||
min(date: Date): Moment;
|
||||
min(date: number): Moment;
|
||||
min(date: Array): Moment;
|
||||
min(date: string): Moment;
|
||||
min(date: string, format: string): Moment;
|
||||
min(clone: Moment): Moment;
|
||||
|
||||
get(unit: string): number;
|
||||
set(unit: string, value: number): Moment;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user