Vishesh Tiwarivishesh-tiwari-dev.hashnode.dev·Oct 28, 2024Typescript Utility TypesIntroduction to Utility Types Utility types in TypeScript allow you to transform existing types into new ones by including, excluding, or modifying properties. This can be incredibly useful when you need to create type definitions that are tailored t...10 likes·33 readsTypeScript Utility Types
AARYAN BAJAJaaryan-bajaj-learnings.hashnode.dev·Jun 1, 2024Mastering ReadOnly and Optional Properties in TypeScriptIntroduction Imagine having a way to safeguard certain properties in your TypeScript objects from being changed, or optionally including properties only when necessary. TypeScript offers powerful features—Readonly and optional properties—that provi...10 likesReadOnly Properties
Giorgos Athanasouliasathanasu.hashnode.dev·Oct 15, 2023[LS] TypeScript Concepts + ExamplesBefore jumping into the actual content, this post (and the upcoming ones) is one of the cheat sheets I keep in my Notion account. Since these notes were intended for personal use, the writing style is such that it is easy for me to understand. I want...52 readsReact
Darshan PonikarforGeekyAnts Tech Blogtechblog.geekyants.com·Jan 4, 2023Typescript:Utility TypesDevelopers frequently claim that typescript requires them to write redundant code. The reasons can vary, but one of the most common is a failure to use utility types. Types are analogous to utility functions in Javascript. They are provided in typesc...45 likes·226 readsTypeScript
Darshan PonikarforGeekyAnts Tech Blogtechblog.geekyants.com·Dec 28, 2022TypeScript: Building blocksType Annotations TypeScript contains various annotations similar to data types in any static language in the form of strings, numbers, boolean, arrays, records, etc. You can assign a type annotation to variables, functions arguments, etc. Primitive T...1 like·83 readsTypeScript
Darshan PonikarforGeekyAnts Tech Blogtechblog.geekyants.com·Dec 28, 2022Introduction to TypeScriptThis article series will introduce us to TypeScript and concepts such as: Why should you learn TypeScript? What exactly is TypeScript? What are the benefits of TypeScript? How to configure your project to use TypeScript? Some TypeScript features...92 readsTypeScript
Iman Roustairousta.hashnode.dev·Dec 9, 20225 Useful TypeScript Utility TypesTypescript has a flexible type system that allows users to create new types. Additionally, with the help of utility types, developers can transform existing types. In this article, we review five useful TypeScript utility types. Awaited<Type> Awaited...1 likeTypeScript