Skip to content

Commit

Permalink
fix(googlemaps): isAvailable() returns boolean, not an instance of Go…
Browse files Browse the repository at this point in the history
…ogleMap
  • Loading branch information
ihadeed committed Jun 13, 2016
1 parent f8c39c3 commit a53ae8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/googlemaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a53ae8f

Please sign in to comment.