From d32e72c8227f20b274f0ceadceafe4b954568d7a Mon Sep 17 00:00:00 2001 From: Todd Bealmear Date: Sun, 3 Jul 2016 23:20:27 -0700 Subject: [PATCH] :bug: Fix Typings --- moment.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.47.2