mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
chore(): remove returned Promises
Addresses: https://github.com/driftyco/ionic-native/issues/38.
This commit is contained in:
@@ -45,9 +45,7 @@ export class AppRate {
|
||||
* @type {{}}
|
||||
*/
|
||||
@CordovaProperty
|
||||
static get preferences() {
|
||||
return window.AppRate.preferences;
|
||||
}
|
||||
static get preferences() { return window.AppRate.preferences; }
|
||||
|
||||
/**
|
||||
* Prompts the user for rating
|
||||
@@ -55,6 +53,6 @@ export class AppRate {
|
||||
* @param {boolean} immediately Show the rating prompt immediately.
|
||||
*/
|
||||
@Cordova()
|
||||
static promptForRating(immediately: boolean) : void {};
|
||||
static promptForRating(immediately: boolean): void {};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user