Skip to content

Commit

Permalink
[bugfix] Added HTML5_FMT to moment.d.ts (#4495)
Browse files Browse the repository at this point in the history
* Added HTML5_FMT to moment.d.ts

* Update Moment.d.ts styling for HTML5_FMT
  • Loading branch information
Calidus authored and marwahaha committed Apr 4, 2018
1 parent 74f5790 commit 23104ff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions moment.d.ts
Expand Up @@ -716,6 +716,19 @@ declare namespace moment {

export var defaultFormat: string;
export var defaultFormatUtc: string;

export var HTML5_FMT: {
DATETIME_LOCAL: string,
DATETIME_LOCAL_SECONDS: string,
DATETIME_LOCAL_MS: string,
DATE: string,
TIME: string,
TIME_SECONDS: string,
TIME_MS: string,
WEEK: string,
MONTH: string
};

}

export = moment;

0 comments on commit 23104ff

Please sign in to comment.