mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added 'defaultFormat' to Moment.js definition
This commit is contained in:
Vendored
+2
@@ -467,6 +467,8 @@ declare module moment {
|
||||
*/
|
||||
ISO_8601(): void;
|
||||
|
||||
defaultFormat: string;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -459,3 +459,5 @@ moment.locale('en', {
|
||||
});
|
||||
|
||||
console.log(moment.version);
|
||||
|
||||
moment.defaultFormat = 'YYYY-MM-DD HH:mm';
|
||||
|
||||
Reference in New Issue
Block a user