#developer
Read more stories on Hashnode
Articles with this tag
Embark on an exhilarating TypeScript journey as we unravel the intricacies of this powerful language! 🚀 A heartfelt thank you to Hitesh Choudhary and...
Type narrowing in TypeScript is a crucial feature that allows developers to refine the type of a variable within a specific code block. It contributes...
Mastering Generics with Arrays and Arrow Functions in TypeScript Example 1: Generics in Arrays // Without Generics function getFirstItem(arr: (string...
Generics: Generics in TypeScript enable the creation of flexible and reusable functions or components that work seamlessly with various data types,...
Abstract Class: An abstract class in TypeScript is a class that cannot be instantiated on its own and is designed to be sub-classed by other classes....
Project Setup: To set up a TypeScript project, follow these steps in the VSCode terminal: tsc --init: Creates a tsconfig.json file. npm init -y:...