|
|
|
|
|
by juliendc
2475 days ago
|
|
I've recently built a Node server with TypeScript and it's a joy to use with external libraries when the types are available. It's such a time saver to not have to guess which method to call with which arguments (I've had only experience with dynamic languages before). Some libraries don't have types or they are outdated but it was a minority. With the experience I've found that most of the type errors are actually between the backend and the frontend in web applications. It's still hard to fully type the entire flow from the database calls with the ORM to the objects manipulation in the frontend. How are you dealing with that? We used Nexus with GraphQL but it was still a bit cumbersome. |
|
Having types straddle the client/server divide is a huge win