mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
fix(in-app-purchase-2): add missing option to register function (#3063)
* Update TS type for register() method It should accept also a list of IAPProductOptions * Update index.ts
This commit is contained in:
parent
b217bdb62a
commit
1fc09098fe
@ -761,7 +761,7 @@ export class InAppPurchase2 extends IonicNativePlugin {
|
|||||||
* @param product {IAPProductOptions}
|
* @param product {IAPProductOptions}
|
||||||
*/
|
*/
|
||||||
@Cordova({ sync: true })
|
@Cordova({ sync: true })
|
||||||
register(product: IAPProductOptions): void {}
|
register(product: IAPProductOptions | IAPProductOptions[]): void {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user