Optional Chaining & Nullish Coalescing
In es2019 and TypeScript 3.7 we got two new way to check nullish value(null, undefined), these are Optional Chaining & Nullish Coalescing.
In es2019 and TypeScript 3.7 we got two new way to check nullish value(null, undefined), these are Optional Chaining & Nullish Coalescing.
In TypeScript Generics allows us to pass a range of types to a function or component. We can call it Abstract Type.
TypeScript allows us to make an individual property readonly. When we use readonly, we can’t assign them with other variables, can’t update or delete.