TypeScript support and API type tracking
masterThis package provides TypeScript declarations for Stripe.js and supports TypeScript versions >= 3.1.
Important Note on API Types: The type declarations for objects returned by Stripe.js methods will always track the latest version of the Stripe API. If your backend is using an older version of the Stripe API, you may need to update your API version or manually override the type definitions to avoid mismatches.