From 3a7cc89e9876a1757645ef165b760d5ae11168b1 Mon Sep 17 00:00:00 2001 From: Derek Lawless Date: Mon, 25 Jan 2016 22:17:27 -0600 Subject: [PATCH] Fix missing return types --- gapi.auth2/gapi.auth2.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gapi.auth2/gapi.auth2.d.ts b/gapi.auth2/gapi.auth2.d.ts index a133d22e4..29d66848e 100644 --- a/gapi.auth2/gapi.auth2.d.ts +++ b/gapi.auth2/gapi.auth2.d.ts @@ -21,7 +21,7 @@ declare module gapi.auth2 { * Calls the onInit function when the GoogleAuth object is fully initialized, or calls the onFailure function if * initialization fails. */ - then(onInit: () => any, onFailure: (reason: string) => any); + then(onInit: () => any, onFailure: (reason: string) => any): any; /** * Signs in the user with the options specified to gapi.auth2.init(). @@ -280,5 +280,5 @@ declare module gapi.signin2 { * Optional. (default: none) */ app_package_name?: string; - }); + }): void; }