#xXstonerXx - Stripe.js
1 messages · Page 1 of 1 (latest)
Hello! I'm not sure if we have TypeScript support for Stripe.js, let me check...
Looks like we support types and interface in the Stripe.js ES Module: https://github.com/stripe/stripe-js
Thank you Rubeus. I had a look into this, it does have support for types and interfaces but I am not able to find docs that mentions how to implement it
What are you trying to implement specifically?
I am getting the tax-rates list from my .Net backend by making an api call from my angular frontend as shown below. I want to change the type any to the type of TaxRate
If I'm understanding correctly I don't think Stripe.js has support for Tax Rates on the frontend. Can you expand more on why you want to change that to a type TaxRate?
because my damn team want me to lol. they won't approve PR with type any. I guess I will just make the interface manually