#therealnikover_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1498303885335462058
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there ๐ looking into your question now
would you mind explaining a little more about what specific functionality you're trying to implement, and the problem you're having?
where exactly are you seeing that the event isn't available, and what kind of 'export' do you need?
This is how I import stripe -> import Stripe from 'stripe';
Then I declare my variable -> let invoiceEvent: Stripe.InvoicePaymentFailedEvent;
But I get a typescript error for the 'InvoicePaymentFailedEvent' -> Namespace 'StripeConstructor' has no exported member 'InvoicePaymentFailedEvent'.
This was not an issue before, but since updating my stripe version to latest, it doesn't work
and which version did you upgrade from?
20.4.1
ok thanks, just investigating some things
Hi. Glo had to step away. I'm checking with a colleague on this
Just to confirm you're using 22.1.0?
Yes
Hi ok seems like this broke in v22. Similar report with a different type/resource: https://github.com/stripe/stripe-node/issues/2683
The team is working on a fix