From 0ebffd7f2564f7ab750ea2c75d7080f5fa4339ff Mon Sep 17 00:00:00 2001 From: Aaron King Date: Wed, 13 Nov 2013 23:19:58 -0500 Subject: [PATCH] Added any return type to static methods that were implictly any. --- moment/moment.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/moment/moment.d.ts b/moment/moment.d.ts index 3dffe3640..bc36f498d 100644 --- a/moment/moment.d.ts +++ b/moment/moment.d.ts @@ -285,11 +285,11 @@ interface MomentStatic { parseZone(date: string): Moment; // These return either string or string[] - months(format?: string, index?: number); - monthsShort(format?: string, index?: number); - weekdays(format?: string, index?: number); - weekdaysShort(format?: string, index?: number); - weekdaysMin(format?: string, index?: number); + months(format?: string, index?: number): any; + monthsShort(format?: string, index?: number): any; + weekdays(format?: string, index?: number): any; + weekdaysShort(format?: string, index?: number): any; + weekdaysMin(format?: string, index?: number): any; normalizeUnits(unit: string): string;