From 36e3c3b7c9b1dc6d29083806266a6232464b6cc9 Mon Sep 17 00:00:00 2001 From: Harel M Date: Wed, 6 May 2015 18:07:26 +0300 Subject: [PATCH] Changed property of longDateFormat to function --- 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 834cc0462..303a41099 100644 --- a/moment/moment.d.ts +++ b/moment/moment.d.ts @@ -325,7 +325,7 @@ declare module moment { weekdays?: any; weekdaysShort?: any; weekdaysMin?: any; - longDateFormat?: MomentLongDateFormat; + longDateFormat(formatType: string): string; relativeTime?: MomentRelativeTime; meridiem?: (hour: number, minute: number, isLowercase: boolean) => string; calendar?: MomentCalendar;