#typescript
Read more stories on Hashnode
Articles with this tag
There are data types in TypeScript that are better known than others. Today I would like to introduce a less known data type: unknown. The unknown...
You can read it everywhere, es2020, es6, ... but what is this exactly? To fully understand what is behind the "ES" script names it is necessary to...
My previous post showed with some short code snippets 5 useful TypeScript ticks. One of those tricks was a User-Defined Type Guard. Since this "trick"...
1. Create a type checking function interface IDog{ name: string; age: number; kidFriendly: boolean; } interface ICat{ name: string; ...