-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stripe types not imported via esm.sh #7
Comments
I'm currently also not sure why that's happening. I see you've also opened this issue here: stripe-samples/stripe-node-deno-samples#2. I'll check with the Stripe folks in their Discord. |
Discussing with the Stripe team here: https://discord.com/channels/841573134531821608/841573134531821616/1049880424949764168 |
As mentioned here this will be resolved once Deno Deploy supports npm module compatibility mode. |
Hi 👋 |
Hello ! This issue is still present in v17.* |
Importing the Stripe library results in the stripe client being typed as
any
.I've tried as many combinations of esm.sh imports for Stripe as I can, including the one referenced in this example and the stripe client is always cast to any.
I realize this may be more of a Stripe issue than a Supabase issue, but given the helpfulness of the Supabase squad, I figured I'd ask here in case anyone has any good pointers on how to get a typed Stripe client in Supabase functions 😃
The text was updated successfully, but these errors were encountered: