How fastapi installation made me mad?This is my documentation of what problems i faced during my first fastapi installation. This might be helpful to a lot of people starting out in fastapi, because if they arent lucky, they will face this too 😞 Basic context of whats happening For t...Jul 7, 2025 · 3 min readintro-to-nodejs.hashnode.dev
Type Aliases & InterfacesType Aliases in TypeScript A type alias allows you to create a custom name for a type, making your code more readable and reusable. Basic Type Alias You can define an alias using type. type UserID = string; let user1: UserID = "12345"; // Valid l...Mar 30, 2025 · 3 min readintro-to-nodejs.hashnode.dev
Unions & IntersectionsWhen working with data, we often need to combine or filter information based on common elements. In TypeScript, union and intersection help us define flexible and precise types, making our code more robust and scalable. Unions allow a value to be one...Mar 30, 2025 · 2 min readintro-to-nodejs.hashnode.dev
Tuples & EnumsTuples in TypeScript A tuple is a special type of array that has a fixed length and specific types for each element. → Declaring a Tuple let user: [string, number] = ["Alice", 25]; console.log(user[0]); // Output: Alice console.log(user[1]); // Outpu...Mar 30, 2025 · 3 min readintro-to-nodejs.hashnode.dev
Inference & ArrayType Inference in TypeScript TypeScript can automatically determine variable types based on their initial values. This is called Type Inference. → Explicit Typing (Manually Specified Type) let age: number = 25; // Type is explicitly set → Implicit ...Mar 30, 2025 · 2 min readintro-to-nodejs.hashnode.dev