Should you annotate or let TypeScript infer the types?

Lately, I’ve been thinking about how one can decide whether to annotate or let TypeScript infer the types of variables/expressions whenever it can. If you don’t know what Type Inference is, refer to the official guide. If you’re using Flow, this article w… Read more

Similar

TypeScript 4.2

Today we’re excited to announce the release of TypeScript 4.2! For those who aren’t familiar with TypeScript, it’s an extension to JavaScript that adds static types and type-checking. With types, you can state exactly what your functions take, and what th... (more…)

Read more »