MappedTypeDestructor Type — react Architecture
Architecture documentation for the MappedTypeDestructor type/interface in FlowTypes.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 40d3f2a5_65d3_9a4b_d656_903d0b3154e2["MappedTypeDestructor"] c5d180c1_c87f_31d8_abb1_5df55aa41d35["FlowTypes.ts"] 40d3f2a5_65d3_9a4b_d656_903d0b3154e2 -->|defined in| c5d180c1_c87f_31d8_abb1_5df55aa41d35 style 40d3f2a5_65d3_9a4b_d656_903d0b3154e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Flood/FlowTypes.ts lines 710–719
export interface MappedTypeDestructor {
kind: 'MappedType';
homomorphic: Homomorphic;
distributive_tparam_name: string | null;
property_type: FlowType;
mapped_type_flags: {
variance: Polarity;
optional: 'MakeOptional' | 'RemoveOptional' | 'KeepOptionality';
};
}
Source
Frequently Asked Questions
What is the MappedTypeDestructor type?
MappedTypeDestructor is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Flood/FlowTypes.ts.
Where is MappedTypeDestructor defined?
MappedTypeDestructor is defined in compiler/packages/babel-plugin-react-compiler/src/Flood/FlowTypes.ts at line 710.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free