From: Zach Whitesel Date: Wed, 4 Apr 2018 06:57:00 +0000 (-0400) Subject: [bugfix] Added HTML5_FMT to moment.d.ts (#4495) X-Git-Tag: 2.22.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23104ffecdcf7a084babe20997d96a410540ff98;p=thirdparty%2Fmoment.git [bugfix] Added HTML5_FMT to moment.d.ts (#4495) * Added HTML5_FMT to moment.d.ts * Update Moment.d.ts styling for HTML5_FMT --- diff --git a/moment.d.ts b/moment.d.ts index b093aa311..3256e2b85 100644 --- a/moment.d.ts +++ b/moment.d.ts @@ -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;