Building @nomadcoderai | #Angular #Agents #ngIndia #AIIndia
Angular version 21.0 introduced one of the most exciting and awaited features: Signal Forms. Traditionally, there have been two types of forms: Template Forms Reactive Forms Angular 21.0 introduced a
Do you know about TypeScript contravariance on function parameters. It means function types are contravariant. It means for function types, parameter types go the “opposite way” compared to the usual
In TypeScript, Type Assertions allow developers to explicitly specify the type of a variable to the TypeScript compiler. When the compiler cannot infer the type of a variable and the developer is more
To understand narrowing, let's begin with a problem scenario. Suppose you're working with a custom type called myType, which is defined as a union of string and null. The code above should print
TypeScript provides Omit() utility function. It creates a new type by omitting certain properties from existing type. It is a built-in utility type in TypeScript that constructs a new type by omitting
Pick() function in TypeScript ? While reading an open-source project, I came across extensive use of Pick in TypeScript. In this short blog post, let’s take a closer look at what Pick does and how it