From: Todd Bealmear Date: Mon, 4 Jul 2016 06:20:27 +0000 (-0700) Subject: :bug: Fix Typings X-Git-Tag: 2.14.1~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32e72c8227f20b274f0ceadceafe4b954568d7a;p=thirdparty%2Fmoment.git :bug: Fix Typings --- diff --git a/moment.d.ts b/moment.d.ts index 1134a8552..42376ee43 100644 --- a/moment.d.ts +++ b/moment.d.ts @@ -523,7 +523,7 @@ declare namespace moment { export function relativeTimeThreshold(threshold: string, limit: number): boolean; export function relativeTimeRounding(fn: (num: number) => number): boolean; export function relativeTimeRounding(): (num: number) => number; - export function calendarFormat(m: Moment, now: Moment) => string; + export function calendarFormat(m: Moment, now: Moment): string; /** * Constant used to enable explicit ISO_8601 format parsing.