update moment-timezone constructor definition, to align the constructor definition of moment

This commit is contained in:
Sammy Chu
2015-05-20 13:28:42 +08:00
parent c29753f170
commit f8a9004034
+2
View File
@@ -28,6 +28,8 @@ interface MomentZone {
}
interface MomentTimezone {
(): moment.Moment;
(timezone: string): moment.Moment;
(date: number, timezone: string): moment.Moment;
(date: number[], timezone: string): moment.Moment;
(date: string, timezone: string): moment.Moment;