Unions and intersections of object types in TypeScript
Exploring how to use union and intersection types with objects in TypeScript, including discriminated unions for type narrowing.
Exploring how to use union and intersection types with objects in TypeScript, including discriminated unions for type narrowing.
A quick introduction to using the Record<K, V> utility type in TypeScript for defining object types with specific keys and values.
An educational guide explaining the GraphQL Type System, including scalar types, objects, interfaces, and unions.
Explains how to use TypeScript index signatures to type objects with dynamic keys, using a salary calculation example.