#hassan

1 messages · Page 1 of 1 (latest)

acoustic carbonBOT
wary echo
abstract zodiac
#

fantastic. i was looking at stripes react library instead

fierce storm
abstract zodiac
#

do you know how i would import just the types ?

#

I got a page which does a fetch call to return Charges.

#

and i just want to type the response

acoustic carbonBOT
fierce storm
#

What do you mean and what are you trying to do? It sounds like you want the stripe-node types @wary echo linked to, but that should be handled by your ts flows using that library i would think

abstract zodiac
#

im using React

#

the call from my server returns me a Charges object

#

I just want to type this response. Dont worry, i just copied over the file from the Repo. I couldnt work out how to import the type only without loading the libray (since i am in React code and stripe-node is Node)