Skip to content

Commit

Permalink
fix(wechat): add missing cordova decorators (#3195)
Browse files Browse the repository at this point in the history
fix wechat plugin
  • Loading branch information
SanLeen authored and danielsogl committed Oct 18, 2019
1 parent fb5d47b commit 0b43c69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/@ionic-native/plugins/wechat/index.ts
Expand Up @@ -92,6 +92,7 @@ export class Wechat extends IonicNativePlugin {
* this.wechat.auth.then((res) => { alert(res.code); });
* </code>
*/
@Cordova()
auth(scope: any, state: any): Promise<any> {
return;
}
Expand All @@ -116,6 +117,7 @@ export class Wechat extends IonicNativePlugin {
* });
* </code>
*/
@Cordova()
sendPaymentRequest(params: any): Promise<any> {
return;
}
Expand Down Expand Up @@ -143,6 +145,7 @@ export class Wechat extends IonicNativePlugin {
* });
* </code>
*/
@Cordova()
jumpToWechat(url: string): Promise<any> {
return;
}
Expand All @@ -160,6 +163,7 @@ export class Wechat extends IonicNativePlugin {
* });
* </code>
*/
@Cordova()
chooseInvoiceFromWX(params: any): Promise<any> {
return;
}
Expand Down

0 comments on commit 0b43c69

Please sign in to comment.