mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-13 22:40:50 +08:00
Merge pull request #19947 from brieb/moment-timezone-population
[moment-timezone] Add Zone population field
This commit is contained in:
3
types/moment-timezone/index.d.ts
vendored
3
types/moment-timezone/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for moment-timezone.js 0.2
|
||||
// Type definitions for moment-timezone.js 0.5
|
||||
// Project: http://momentjs.com/timezone/
|
||||
// Definitions by: Michel Salib <https://github.com/michelsalib>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -14,6 +14,7 @@ declare module "moment" {
|
||||
abbrs: string[];
|
||||
untils: number[];
|
||||
offsets: number[];
|
||||
population: number;
|
||||
|
||||
abbr(timestamp: number): string;
|
||||
offset(timestamp: number): number;
|
||||
|
||||
Reference in New Issue
Block a user