From 1204530cb67f221cfc75229ea0d7455ce5a50470 Mon Sep 17 00:00:00 2001 From: amritk Date: Fri, 25 Sep 2015 17:57:57 -0700 Subject: [PATCH] Made key and token optional The parameters key and token must be optional if using the same options interface for both configure and open. You will only want to set the key and token in configure, no need to set it again in open. --- stripe-checkout/stripe-checkout.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stripe-checkout/stripe-checkout.d.ts b/stripe-checkout/stripe-checkout.d.ts index 6031172aa1..8be22cab11 100644 --- a/stripe-checkout/stripe-checkout.d.ts +++ b/stripe-checkout/stripe-checkout.d.ts @@ -15,8 +15,8 @@ interface StripeCheckoutHandler { } interface StripeCheckoutOptions { - key: string; - token: (token: StripeTokenResponse) => void; + key?: string; + token?: (token: StripeTokenResponse) => void; image?: string; name?: string; description?: string;