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
-
-
Oh I'm so torn on this, having it part of the API feels really gross, but I know the value of showing the business "putting effort towards TypeScript was worth it!".
-
Having to opt-in to reporting to use it is why it feels gross, it would be much better (more accurate, higher signal) as part of a developer experience survey.
- Još 3 druga odgovora
Novi razgovor -
-
-
This is one of those API decisions that seems fine in isolation but sets a potentially interesting precedent. The last thing I want is a slew of services asking me details on my development environment so they can track metrics.
-
(You should also probably document that this will be reported and tracked by Stripe)
Kraj razgovora
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.
seems weird to have (what appears to be) a runtime config option related to compile-time type checking.