mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add toArray to moment
This commit is contained in:
1 parent
3882d337bb
commit
bb81c937ca
1 file changed
+2
-1
Vendored
+2
-1
@@ -224,7 +224,8 @@ declare module moment {
|
||||
diff(b: Moment): number;
|
||||
diff(b: Moment, unitOfTime: string): number;
|
||||
diff(b: Moment, unitOfTime: string, round: boolean): number;
|
||||
|
||||
|
||||
toArray(): number[];
|
||||
toDate(): Date;
|
||||
toISOString(): string;
|
||||
toJSON(): string;
|
||||
|
||||
Reference in new issue
Block a user