#xXstonerXx - Stripe.js

1 messages · Page 1 of 1 (latest)

sleek ginkgo
#

Hello! I'm not sure if we have TypeScript support for Stripe.js, let me check...

mighty bough
#

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

sleek ginkgo
#

What are you trying to implement specifically?

mighty bough
#

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

sleek ginkgo
#

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?

mighty bough
#

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