mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
.tz() can also return undefined as per the docs
This commit is contained in:
Vendored
+1
-1
@@ -57,7 +57,7 @@ declare module "moment" {
|
||||
}
|
||||
|
||||
interface Moment {
|
||||
tz(): string;
|
||||
tz(): string | undefined;
|
||||
tz(timezone: string): Moment;
|
||||
zoneAbbr(): string;
|
||||
zoneName(): string;
|
||||
|
||||
Reference in New Issue
Block a user