From be1c64f42405e24a822d6b07e2520ea670434625 Mon Sep 17 00:00:00 2001 From: Michel Salib Date: Mon, 1 Dec 2014 17:52:09 +0100 Subject: [PATCH] Rename class in order to avoid name collisions. --- moment-timezone/moment-timezone.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moment-timezone/moment-timezone.d.ts b/moment-timezone/moment-timezone.d.ts index 167df9a7c..785aeb047 100644 --- a/moment-timezone/moment-timezone.d.ts +++ b/moment-timezone/moment-timezone.d.ts @@ -9,7 +9,7 @@ interface Moment { tz(timezone: string): Moment; } -interface Zone { +interface MomentZone { name: string; abbrs: string[]; untils: number[]; @@ -28,7 +28,7 @@ interface MomentTimezone { (date: Moment, timezone: string): Moment; (date: Object, timezone: string): Moment; - zone(timezone: string): Zone; + zone(timezone: string): MomentZone; add(packedZoneString: string): void; add(packedZoneString: string[]): void;