fix(googlemaps): isAvailable() returns boolean, not an instance of GoogleMap

This commit is contained in:
Ibrahim Hadeed 2016-06-13 12:45:29 -04:00
parent f8c39c3584
commit a53ae8f257

View File

@ -64,10 +64,10 @@ export class GoogleMap {
/**
* Checks if a map object has been created.
* @return {Promise<GoogleMap>} returns a promise that resolves with the Map object (if it exists).
* @return {Promise<boolean>} returns a promise that resolves with a boolean that indicates if the plugin is available.
*/
@Cordova()
static isAvailable(): Promise<GoogleMap> {
static isAvailable(): Promise<boolean> {
return;
}