We’ve added official TypeScript support to our Node.js library.
You now have type errors, autocompletion for API fields and params, in-editor documentation, and much more!
Get started at https://github.com/stripe/stripe-node#usage-with-typescript … and catch those errors early.
pic.twitter.com/FmlTa1wXZk
-
-
Hey there—mind sharing a bit more with us here? -
Trying to get `last4` from customer. We use `_customer.sources.data[0].last4`, but last4 is not a key under `CustomerSource`. Just a type issue I think.
- Još 1 odgovor
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
Coding