From da354071c00aba723e72b1b0ce6b948f54f1ccb1 Mon Sep 17 00:00:00 2001 From: Ahmet Kiyak Date: Thu, 11 Aug 2016 23:30:59 +0200 Subject: [PATCH] Update stripe.d.ts Pass expiration date as single string https://stripe.com/docs/stripe.js#passing-exp-dates --- stripe/stripe.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stripe/stripe.d.ts b/stripe/stripe.d.ts index 659c75bf3e..8a03ee3f33 100644 --- a/stripe/stripe.d.ts +++ b/stripe/stripe.d.ts @@ -17,8 +17,9 @@ interface StripeStatic { interface StripeTokenData { number: string; - exp_month: number; - exp_year: number; + exp_month?: number; + exp_year?: number; + exp?: string; cvc?: string; name?: string; address_line1?: string;