From 62d53f2fa2b1dbf70f4b0fbe3f018f4d6831f510 Mon Sep 17 00:00:00 2001 From: Jeremy Gunzburg Date: Mon, 27 Jun 2016 10:17:58 +1000 Subject: [PATCH] Removed implicit any types --- fullCalendar/v1/fullCalendar-tests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fullCalendar/v1/fullCalendar-tests.ts b/fullCalendar/v1/fullCalendar-tests.ts index 2e5aa4a3cd..8898649974 100644 --- a/fullCalendar/v1/fullCalendar-tests.ts +++ b/fullCalendar/v1/fullCalendar-tests.ts @@ -599,7 +599,7 @@ $('#calendar').fullCalendar({ }); $('#calendar').fullCalendar({ - events: function (start, end, callback) { + events: function (start: any, end: any, callback: any) { $.ajax({ url: 'myxmlfeed.php', dataType: 'xml', @@ -609,7 +609,7 @@ $('#calendar').fullCalendar({ end: Math.round(end.getTime() / 1000) }, success: function (doc) { - var events = []; + var events: any[] = []; $(doc).find('event').each(function () { events.push({ title: $(this).attr('title'), @@ -628,7 +628,7 @@ $('#calendar').fullCalendar({ // your event source { - events: function (start, end, callback) { + events: function (start: any, end: any, callback: any) { // ... }, color: 'yellow', // an option! @@ -681,7 +681,7 @@ $('#calendar').fullCalendar({ } // more events here ], - eventRender: function (event: EventWithDescription, element) { + eventRender: function (event: EventWithDescription, element: any) { element.qtip({ content: event.description });