From a53ae8f257c1ffb8adb32e7205833a0e9c2aa882 Mon Sep 17 00:00:00 2001 From: Ibrahim Hadeed Date: Mon, 13 Jun 2016 12:45:29 -0400 Subject: [PATCH] fix(googlemaps): isAvailable() returns boolean, not an instance of GoogleMap --- src/plugins/googlemaps.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/googlemaps.ts b/src/plugins/googlemaps.ts index c3ad4b55f..c1a4fc995 100644 --- a/src/plugins/googlemaps.ts +++ b/src/plugins/googlemaps.ts @@ -64,10 +64,10 @@ export class GoogleMap { /** * Checks if a map object has been created. - * @return {Promise} returns a promise that resolves with the Map object (if it exists). + * @return {Promise} returns a promise that resolves with a boolean that indicates if the plugin is available. */ @Cordova() - static isAvailable(): Promise { + static isAvailable(): Promise { return; }