DEV Community 👩‍💻👨‍💻

Richard Moot
Richard Moot

Posted on

Would you appreciate an SDK being written in TypeScript?

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).

Top comments (3)

Collapse
 
nektro profile image
Meghan (she/her)

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

Collapse
 
lucasmonstro profile image
Lucas Silva
Collapse
 
avalander profile image
Avalander

That looks like someone ported Spring to Node.

50 CLI Tools You Can't Live Without

>> Check out this classic DEV post <<