mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Rename class in order to avoid name collisions.
This commit is contained in:
1 parent
289e357827
commit
be1c64f424
1 file changed
+2
-2
Vendored
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user