mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
moment: added min
This commit is contained in:
1 parent
ef5c990573
commit
5bbd4398c4
1 file changed
+7
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