TypeScript has been gaining popularity and adoption for a while as a strongly-typed flavor of JavaScript. In this guide, we'll explore a possible way to use TypeScript to write an Express middleware. We'll start with a JavaScript project, add TypeScript …