diff --git a/src/@ionic-native/plugins/wechat/index.ts b/src/@ionic-native/plugins/wechat/index.ts index 1c104a452..b9d382791 100644 --- a/src/@ionic-native/plugins/wechat/index.ts +++ b/src/@ionic-native/plugins/wechat/index.ts @@ -92,6 +92,7 @@ export class Wechat extends IonicNativePlugin { * this.wechat.auth.then((res) => { alert(res.code); }); * */ + @Cordova() auth(scope: any, state: any): Promise { return; } @@ -116,6 +117,7 @@ export class Wechat extends IonicNativePlugin { * }); * */ + @Cordova() sendPaymentRequest(params: any): Promise { return; } @@ -143,6 +145,7 @@ export class Wechat extends IonicNativePlugin { * }); * */ + @Cordova() jumpToWechat(url: string): Promise { return; } @@ -160,6 +163,7 @@ export class Wechat extends IonicNativePlugin { * }); * */ + @Cordova() chooseInvoiceFromWX(params: any): Promise { return; }