mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
ADD: definition file for the moment-duration-format library (#11557)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user