4 مستودعات
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 is a curated collection of guides, libraries, and design patterns focused on Swift language mastery, application architecture, and API design. It provides a technical resource for implementing advanced coding techniques and architectural best practices. The project emphasizes creating type-safe and conversational interfaces through strategic protocol composition and generics. It offers specialized patterns for building modular UI systems and managing complex view hierarchies, alongside comprehensive strategies for unit testing and dependency injection. The resource covers a broad s
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.