13.9 Summary
In this chapter, you’ve learned about TypeScript and Flow, as well as how you can use both with Node.js. It’s not without reason that TypeScript is becoming increasingly prevalent in the Node.js environment. Using TypeScript provides some key benefits for developers. For example, your development environment is able to give you more precise help in the form of auto-completion. It also alerts you to errors early on, namely, at a point when you’re writing the error, rather than when it’s executed in your Node.js application.
But TypeScript has some disadvantages too, of course. For the development process, using this language involves additional work because the types must be distinguished in the code. More work is also required ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access