]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
:bug: Fix Typings 3280/head
authorTodd Bealmear <todd@users.noreply.github.com>
Mon, 4 Jul 2016 06:20:27 +0000 (23:20 -0700)
committerGitHub <noreply@github.com>
Mon, 4 Jul 2016 06:20:27 +0000 (23:20 -0700)
moment.d.ts

index 1134a85527e5f11127e08efce1904b0c97c5850e..42376ee43766cc797af9ecbb939c4a34ebf18ea7 100644 (file)
@@ -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.