1 Repo
The application of conditional types to each member of a union separately to produce a union of results.
Distinct from Union Type Transformations: Specifically refers to the distributive nature of conditional types over unions, not general union manipulation.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Distributive Conditional Types. Refine with filters or upvote what's useful.
This project is a comprehensive guide and educational resource for the TypeScript language. It covers the fundamental principles of the language, including its structural type system, static type analysis, and the process of transpiling typed source files into JavaScript. The material details how to model complex data and reusable type logic using generics, conditional types, and mapped types. It also explains the use of declaration files to provide type safety for external JavaScript libraries and the integration of type checking into existing JavaScript projects via JSDoc annotations. The
Covers how conditional types distribute over unions to enable advanced type mapping.