4 repository-uri
Combining existing types through unions, intersections, generics, and mapped types to model real-world data structures.
Distinct from Generic Types: Distinct from Generic Types: focuses on composing multiple types together rather than parameterizing a single type.
Explore 4 awesome GitHub repositories matching programming languages & runtimes · Type Compositions. Refine with filters or upvote what's useful.
The Concise TypeScript Book: A Concise Guide to Effective Development in TypeScript. Free and Open Source.
Teaches how to combine types using unions, intersections, generics, and mapped types.
Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida
Builds sophisticated data models by combining recursive types, branded types, and complex constraints.
SwiftTips este o colecție curatoriată de ghiduri, biblioteci și design patterns axate pe stăpânirea limbajului Swift, arhitectura aplicațiilor și designul de API-uri. Oferă o resursă tehnică pentru implementarea tehnicilor avansate de codare și a bunelor practici arhitecturale. Proiectul pune accent pe crearea de interfețe „type-safe” și conversaționale prin compoziția strategică a protocoalelor și generice. Oferă tipare specializate pentru construirea de sisteme UI modulare și gestionarea ierarhiilor complexe de view-uri, alături de strategii cuprinzătoare pentru unit testing și dependency injection. Resursa acoperă o gamă largă de capabilități, inclusiv primitive de programare funcțională, utilitare avansate pentru sistemul de tipuri și strategii de modelare a datelor. De asemenea, detaliază tehnici pentru gestionarea erorilor, gestionarea memoriei și dezvoltarea de interfețe responsive.
Combines multiple single-purpose protocols into a composite type alias for reusable conformance.
This project is a collection of architectural guidelines and design patterns for building applications with the React library. It provides a framework for organizing frontend architecture, component design standards, and state management strategies to reduce technical debt and complexity. The guide emphasizes a modular approach to component design, focusing on the separation of business logic from the user interface and the use of primitive props to ensure single responsibility. It advocates for a testing philosophy centered on user behavior and integration outcomes rather than internal imple
Uses intersections and composition to create modular data definitions instead of monolithic hierarchies.