]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
[bugfix] Added HTML5_FMT to moment.d.ts (#4495)
authorZach Whitesel <zmwhitesel@gmail.com>
Wed, 4 Apr 2018 06:57:00 +0000 (02:57 -0400)
committerKunal Marwaha <marwahaha@berkeley.edu>
Wed, 4 Apr 2018 06:57:00 +0000 (22:57 -0800)
* Added HTML5_FMT to moment.d.ts

* Update Moment.d.ts styling for HTML5_FMT

moment.d.ts

index b093aa311c6cabb6e2207315ae9f54ee351b2363..3256e2b853cab7b0b9dadb3bc5aa8ff930b1b3f6 100644 (file)
@@ -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;