Skip to content

Commit 8975ec5

Browse files
committed
chore(): update typings
1 parent a4078e5 commit 8975ec5

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/nativescript-stripe/index.d.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import {
4848
IPaymentMethodCardWalletSamsungPay
4949
} from './common';
5050

51-
export {init} from './utils';
51+
export { init } from './utils';
5252

5353
export declare class Address implements IAddress {
5454
readonly ios: any;
@@ -232,10 +232,17 @@ export declare class Stripe {
232232
}
233233

234234
export declare class CardParams implements ICardParams {
235-
address: Address;
236235
readonly native: any
236+
constructor()
237+
constructor(params: STPCardParams)
238+
constructor(number: string, expMonth: number, expYear: number, cvc: string)
239+
address: Address;
237240
name: string;
238241
currency: string;
242+
number: string;
243+
expMonth: number;
244+
expYear: number;
245+
cvc: string;
239246
}
240247

241248
export declare class PaymentMethodCardChecks implements IPaymentMethodCardChecks {

0 commit comments

Comments
 (0)