From 470539a07f80ace2c177de70e1a18aea100dbbb6 Mon Sep 17 00:00:00 2001 From: SwintDC Date: Mon, 3 Oct 2016 19:49:30 +0200 Subject: [PATCH] ADD: definition file for the moment-duration-format library (#11557) --- moment-duration-format/moment-duration-format.d.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 moment-duration-format/moment-duration-format.d.ts 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