Skip to main content

TomAlcala

Tag: typescript

Convert an Express NodeJS App From JavaScript to TypeScript

Hi! 🖖 Today, I’ll walk us through moving an Express NodeJS app from JavaScript to TypeScript. Why? TypeScript offers type safety “on demand”, most of the code won’t break if you move your app from one to the other, and then, you can add the safety where it is important. How We are going to start from a fork of Kent C. Dodds' Express example for mid-large apps. I made a branch called javascript as a starter.