TypeScript Enums or Union Types?

Which of these two ways to define the type of a variable as one of multiple possibilities is better? Let’s have a look at the trade-offs. Read more

Similar

TypeScript 4.0 RC

Today we’re announcing our release candidate of TypeScript 4.0. While this RC brings us closer to a new major version of TypeScript, don’t fret – there are no larger breaking changes than usual. Our philosophy in evolving TypeScript has always been to pro... (more…)

Read more »