Latest video
Latest posts

Type Inference & Type Annotations in TypeScript

Hands-On

In this TypeScript tutorial, we explore the concepts of type annotations and type inference. We clarify the distinction between the two and discuss their significance in writing maintainable and robust code.

Continue reading →

How to write Express.js middleware with TypeScript

Hands-On

You can extend your Express.js server easily with custom middleware. All you have to do is to write a function that accepts three parameters (req, res, next).

Continue reading →

When to use static methods in TypeScript?

Best Practices

When developing class functions that don’t rely on an internal state, it’s a good idea to turn them into static methods. This can be easily done by adding the keyword static to your function’s declaration.

Continue reading →

Fastest way to set up a TypeScript project with Node.js (npm)

Hands-On

Setting up a TypeScript project with Node.js takes only a few minutes. Here is how to do it the fastest way by just using npm and yarn.

Continue reading →