From d5bf84fdb8538633c241b3b300545e8b98eb30ed Mon Sep 17 00:00:00 2001 From: Andrey Kurdyumov Date: Thu, 21 Aug 2014 17:43:47 +0600 Subject: [PATCH] Updated definition for the Duration.humanize See the docs there http://momentjs.com/docs/#/durations/humanize/ --- moment/moment.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moment/moment.d.ts b/moment/moment.d.ts index 20e921c32..0ec575fd8 100644 --- a/moment/moment.d.ts +++ b/moment/moment.d.ts @@ -28,7 +28,7 @@ interface MomentInput { interface Duration { - humanize(): string; + humanize(withSuffix?: boolean): string; milliseconds(): number; asMilliseconds(): number;