diff --git a/moment-duration-format/moment-duration-format.d.ts b/moment-duration-format/moment-duration-format.d.ts new file mode 100644 index 0000000000..e3c1f04666 --- /dev/null +++ b/moment-duration-format/moment-duration-format.d.ts @@ -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 +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + + +declare namespace moment { + interface Duration { + format(template: string, precision?: string, settings?: any): string; + } +} \ No newline at end of file