stripe / stripe-node

Node.js library for the Stripe API.
https://stripe.com
MIT License
3.9k stars 755 forks source link

Cannot access LatestApiVersion type in Typescript #2041

Closed paul-uz closed 8 months ago

paul-uz commented 8 months ago

Describe the bug

LatestApiVersion is exported as a type, but I cannot seem to be able to access it

To Reproduce

  1. create new Stripe instance
  2. try to use LatestApiVersion for apiVersion

Expected behavior

  1. Can import LatestApiVersion as a type

Code snippets

No response

OS

macOS 14.1.1

Node version

20

Library version

14.21.0

API version

latest

Additional context

No response

ramya-stripe commented 8 months ago

Hey @paul-uz

I just tried out the latest stripe package. Am able to import the type just fine...

Screenshot 2024-03-19 at 2 50 48 PM

ramya-stripe commented 8 months ago

Hey @paul-uz

We will be closing this issue as there are no action items here.