mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-02-21 00:23:00 +08:00
fix(googlemaps): isAvailable() returns boolean, not an instance of GoogleMap
This commit is contained in:
parent
f8c39c3584
commit
a53ae8f257
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user