mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
update moment-timezone constructor definition, to align the constructor definition of moment
This commit is contained in:
1 parent
c29753f170
commit
f8a9004034
1 file changed
+2
Vendored
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user