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:
Eliran Elnasi 2019-06-17 15:52:19 +03:00 committed by Daniel Sogl
parent b217bdb62a
commit 1fc09098fe

View File

@ -761,7 +761,7 @@ export class InAppPurchase2 extends IonicNativePlugin {
* @param product {IAPProductOptions}
*/
@Cordova({ sync: true })
register(product: IAPProductOptions): void {}
register(product: IAPProductOptions | IAPProductOptions[]): void {}
/**
*