From 242eb155fc2681692952269fa71b89f5a4aab116 Mon Sep 17 00:00:00 2001 From: Jasper Siegmund Date: Tue, 21 Jun 2016 16:12:27 +0200 Subject: [PATCH] Added return types to avoid implicit any --- azure-mobile-services-client/AzureMobileServicesClient.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-mobile-services-client/AzureMobileServicesClient.d.ts b/azure-mobile-services-client/AzureMobileServicesClient.d.ts index 63c9ee454b..d401b4d1bc 100644 --- a/azure-mobile-services-client/AzureMobileServicesClient.d.ts +++ b/azure-mobile-services-client/AzureMobileServicesClient.d.ts @@ -48,14 +48,14 @@ declare namespace Microsoft.WindowsAzure { * @param secondaryTiles An object containing template definitions to be used with secondary tiles when using WNS. * @param callback Optional callback accepting (error, results) parameters. */ - register(platform: string, pushChannel: string, templates: any, secondaryTiles: any, callback: (error: any, results: any) => void); + register(platform: string, pushChannel: string, templates: any, secondaryTiles: any, callback: (error: any, results: any) => void): void; /** * Invokes the specified custom api and returns a response object. * * @param pushChannel The push channel identifier or URI. * @param callback Optional callback accepting (error, results) parameters. */ - unregister(pushChannel: string, callback: (error: any, results: any) => void); + unregister(pushChannel: string, callback: (error: any, results: any) => void): void; } interface InvokeApiOptions