mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Moment: Add toISOString definition for version 2.1.0
This commit is contained in:
1 parent
875e949f45
commit
acbd1e812b
2 files changed
+2
No files matched your search
@@ -132,6 +132,7 @@ a8.diff(b8, 'years')
|
||||
a8.diff(b8, 'years', true);
|
||||
|
||||
moment([2007, 0, 29]).toDate();
|
||||
moment([2007, 1, 23]).toISOString();
|
||||
moment(1318874398806).valueOf();
|
||||
moment(1318874398806).unix();
|
||||
moment([2000]).isLeapYear();
|
||||
|
||||
Vendored
+1
@@ -105,6 +105,7 @@ interface Moment {
|
||||
diff(b: Moment, soort: string, round: boolean): number;
|
||||
|
||||
toDate(): Date;
|
||||
toISOString(): string;
|
||||
unix(): number;
|
||||
|
||||
isLeapYear(): boolean;
|
||||
|
||||
Reference in new issue
Block a user