#typescript
Read more stories on Hashnode
Articles with this tag
I won't lie. There is a reason I skipped this one for a bit, it was a bit unclear on when to use this one, but it's starting to make sense. The record...
The TypeScript Union type is excellent if your type can consist of multiple values/types. We define a union type using the pipe character (|). For...
You may already know this, but Next.JS comes with TypeScript support out of the box for those who don't! Which is amazing! We can leverage all the...
When it comes to TypeScript, there is yet another modifier we haven't touched. This is readonly, which can be used to make fields read-only. Meaning...
Before diving into Enums in TypeScript, let's take a second to look at what they are. Enums are a common type in most popular programming languages,...
This one will be a little bit more advanced, as we'll be looking at improving our combined utility type we made the other day. The code so far looks...