Latest video
Latest posts

What is the satisfies operator in TypeScript?

New Features

The introduction of the satisfies operator in TypeScript 4.9 enables us to verify that the type of an expression corresponds to a specific type. It can offer greater precision compared to a type annotation and assist in narrowing down a union type.

Continue reading →

The void operator in TypeScript and JavaScript

New Features

The void operator, present in both TypeScript and plain JavaScript, evaluates an expression and returns undefined. Although it may not initially seem particularly useful, the void operator plays a significant role in preventing unintended leakage of return values and handling Promises for side effects.

Continue reading →