Darshit Anjariadarshitanjaria.hashnode.dev·Dec 6, 2024TypeScript in Production: Mastering Conditional and Mapped Types for Type SafetyTypeScript’s conditional and mapped types are advanced features that allow developers to create dynamic, scalable, and type-safe solutions for complex use cases. These tools can help enforce type safety in production applications, reduce bugs, and ma...TypeScript Deep Dive: Advanced features for Real-World applications.TypeScript
Charles Opute Odilichalu.hashnode.dev·Apr 25, 2024Using Generics in Typescript to Ensure Symmetry in Function Argument ValuesFunctions in JavaScript can take arguments and we can use Typescript to enforce a type on each argument, such that we would get build time errors if the function gets called with arguments of the wrong type. What can be tricky and often elusive with ...72 readsfunction signatures
Fernando De La Madriddeadcode.hashnode.dev·Dec 9, 2023Conditional Types in TypeScriptOn the sixth day of our TypeScript journey, we've covered significant ground—nearly a full week of engaging challenges!As the title hints, today's challenge has to do with conditional types. We are going to learn about neat concepts of TypeScript as ...TypeScript FundamentalsTypeScript
Andrei Picusnighttrax.dev·Jun 8, 2023TypeScript Thursday - S01E03 - Conditional typesIn TypeScript Thursday - S01E01 we learned about generic types and saw how we can make the output of a function preserve the type(s) of its input(s). For instance, we can write a <Dropdown> React component that automatically infers the type of its on...295 readsTypeScript ThursdayTypeScript
Abiola Fasanyaharbiola.hashnode.dev·Apr 20, 2023Exploring Advanced Type Features in TypeScriptTypeScript is a superset of JavaScript that provides optional static type checking and type annotations. One of the main benefits of using TypeScript is that it allows you to catch errors early during development before they make it to production. In...144 readstype checking