ADD: definition file for the moment-duration-format library (#11557)

This commit is contained in:
SwintDC
2016-10-03 10:49:30 -07:00
committed by Mohamed Hegazy
parent f044ddb2c3
commit 470539a07f
+11
View File
@@ -0,0 +1,11 @@
// Type definitions for moment-duration-format v1.3.0
// Project: https://github.com/jsmreese/moment-duration-format
// Definitions by: Swint De Coninck <https://github.com/SwintDC>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace moment {
interface Duration {
format(template: string, precision?: string, settings?: any): string;
}
}