loading...

Would you appreciate an SDK being written in TypeScript?

github logo ・1 min read

I'm curious if Node/JavaScript developers would appreciate an SDK having been written in TypeScript, even if only wanting to use the transpiled JavaScript. My inclination is the additional type checking would be appreciated and help save developers from odd mistakes of data type being passed back from the SDK.

I know its a little extra overhead and adds a bit to the package size, but would you use it? (For context, this would be an SDK for interacting with a RESTful API).

twitter logo DISCUSS (3)
markdown guide
 

Absolutely! Intellisense integration in an IDE with TS type definitions or even JSDoc comments help tremendously! 😄

 
Classic DEV Post from Oct 1 '19

Daily Hacktoberfest Miscellaneous discussion (October 1st)

Richard Moot profile image
Developer Evangelist @ Square. I have a love/hate relationship with JavaScript. When I am not programming/gaming/reading, I know way more than I should about shipping and payments now.

dev.to now has dark theme. 🌝

Go to the "misc" section of your settings and select night theme

P.S. It's the best move you can make for your dev career.