Latest posts

When to use static methods in TypeScript?

2020-10-07 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)

2020-08-04 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 →

Top-level await in TypeScript 3.8

2020-03-30 New Features

TypeScript 3.8 introduces a new functionality which is called top-level await. It allows developers to use the await keyword without a surrounding async function at the top level of a module.

Continue reading →