From e211a2a2d458518e1d16ae156556294457137b1b Mon Sep 17 00:00:00 2001 From: Yann IRBAH Date: Wed, 12 Dec 2018 19:13:32 +0100 Subject: [PATCH] [stripe] fixes ICardTokenCreationOptions definition The `card` field in `ICardTokenCreationOptions` should be optional. Doc: https://stripe.com/docs/api/tokens/create_card?lang=node --- types/stripe/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/stripe/index.d.ts b/types/stripe/index.d.ts index 592d0b0430..b4b08df674 100644 --- a/types/stripe/index.d.ts +++ b/types/stripe/index.d.ts @@ -3797,7 +3797,7 @@ declare namespace Stripe { * Otherwise, if you do not pass a customer, a object containing a * user's credit card details, with the options described below. */ - card: sources.ISourceCreationOptions; + card?: sources.ISourceCreationOptions; } interface IBankAccountTokenCreationOptions extends ITokenCreationOptionsBase {