mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
refactor(one-signal): add return statement
This commit is contained in:
parent
2ebfa46437
commit
18a81a77a9
@ -572,7 +572,6 @@ export class OneSignal extends IonicNativePlugin {
|
|||||||
@Cordova({ sync: true })
|
@Cordova({ sync: true })
|
||||||
setSubscription(enable: boolean): void { }
|
setSubscription(enable: boolean): void { }
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the current notification and permission state. Returns a OSPermissionSubscriptionState type described below.
|
* Get the current notification and permission state. Returns a OSPermissionSubscriptionState type described below.
|
||||||
* You can pass true later to opt users back into notifications.
|
* You can pass true later to opt users back into notifications.
|
||||||
@ -580,9 +579,7 @@ export class OneSignal extends IonicNativePlugin {
|
|||||||
* @param {boolean} enable
|
* @param {boolean} enable
|
||||||
*/
|
*/
|
||||||
@Cordova({ sync: true })
|
@Cordova({ sync: true })
|
||||||
getPermissionSubscriptionState(): OSPermissionSubscriptionState { }
|
getPermissionSubscriptionState(): OSPermissionSubscriptionState { return; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user