Skip to content

Commit cea65bc

Browse files
add apiVersion types (stripe#15)
1 parent 38d45fd commit cea65bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

types/stripe-js/index.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@ declare module '@stripe/stripe-js' {
362362
*/
363363
stripeAccount?: string;
364364

365+
/**
366+
* Override your account's [API version](https://stripe.com/docs/api/versioning).
367+
*/
368+
apiVersion?: string;
369+
365370
/**
366371
* The [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) used to globally configure localization in Stripe.js.
367372
* Setting the locale here will localize error strings for all Stripe.js methods.

0 commit comments

Comments
 (0)