FlowTypes.ts — react Source File
Architecture documentation for FlowTypes.ts, a typescript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR c5d180c1_c87f_31d8_abb1_5df55aa41d35["FlowTypes.ts"] 912702ee_f06e_77d9_d237_a41c50607cdf["Types.ts"] 912702ee_f06e_77d9_d237_a41c50607cdf --> c5d180c1_c87f_31d8_abb1_5df55aa41d35 style c5d180c1_c87f_31d8_abb1_5df55aa41d35 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* TypeScript definitions for Flow type JSON representations
* Based on the output of /data/sandcastle/boxes/fbsource/fbcode/flow/src/typing/convertTypes.ml
*/
// Base type for all Flow types with a kind field
export interface BaseFlowType {
kind: string;
}
// Type for representing polarity
export type Polarity = 'positive' | 'negative' | 'neutral';
// Type for representing a name that might be null
export type OptionalName = string | null;
// Open type
export interface OpenType extends BaseFlowType {
kind: 'Open';
}
// Def type
export interface DefType extends BaseFlowType {
kind: 'Def';
def: DefT;
}
// Eval type
export interface EvalType extends BaseFlowType {
kind: 'Eval';
type: FlowType;
destructor: Destructor;
}
// Generic type
export interface GenericType extends BaseFlowType {
kind: 'Generic';
name: string;
bound: FlowType;
no_infer: boolean;
}
// ThisInstance type
export interface ThisInstanceType extends BaseFlowType {
kind: 'ThisInstance';
instance: InstanceT;
is_this: boolean;
name: string;
}
// ThisTypeApp type
export interface ThisTypeAppType extends BaseFlowType {
kind: 'ThisTypeApp';
t1: FlowType;
t2: FlowType;
t_list?: Array<FlowType>;
}
// TypeApp type
export interface TypeAppType extends BaseFlowType {
// ... (693 more lines)
Domain
Types
- AbstractEnum
- AnnotType
- AnyType
- ArrType
- ArrTypeObj
- ArrayAT
- BaseFlowType
- BigIntGeneralType
- BoolGeneralType
- CanonicalRendersForm
- ClassType
- ComponentInstance
- ComponentKind
- ConcreteEnum
- ConditionalTypeDestructor
- DefT
- DefType
- DefaultRenders
- Destructor
- DictType
- Effect
- ElementTypeDestructor
- EmptyType
- EnumInfo
- EnumObjectType
- EnumTypeDestructor
- EnumValueType
- EvalType
- ExactTypeDestructor
- FieldProperty
- Flags
- FlowType
- FunProtoBindType
- FunProtoType
- FunType
- FunTypeObj
- GenericType
- GetProperty
- GetSetProperty
- Homomorphic
- InstType
- InstanceT
- InstanceType
- InstrinsicRenders
- IntersectionType
- KeysType
- MakeHooklikeDestructor
- MappedTypeDestructor
- MaybeType
- MethodProperty
- MixedType
- NamespaceType
- NominalRenders
- NonMaybeTypeDestructor
- NullProtoType
- NullType
- NumGeneralType
- NumericStrKeyType
- ObjKind
- ObjProtoType
- ObjType
- ObjTypeObj
- OpaqueType
- OpenType
- OptionalIndexedAccessIndex
- OptionalIndexedAccessNonMaybeTypeDestructor
- OptionalIndexedAccessResultTypeDestructor
- OptionalName
- OptionalType
- PartialTypeDestructor
- Polarity
- PolyType
- Property
- PropertyMap
- PropertyTypeDestructor
- ROArrayAT
- ReactAbstractComponentType
- ReactCheckComponentConfigDestructor
- ReactDRODestructor
- ReactElementConfigTypeDestructor
- ReactElementPropsTypeDestructor
- ReadOnlyTypeDestructor
- RendersType
- RequiredTypeDestructor
- RestMergeMode
- RestTypeDestructor
- SetProperty
- SingletonBigIntType
- SingletonBoolType
- SingletonNumType
- SingletonStrType
- Slice
- SpreadOperand
- SpreadTarget
- SpreadTupleTypeDestructor
- SpreadTypeDestructor
- StrGeneralType
- StrUtilType
- StructuralRenders
- SymbolType
- ThisInstanceType
- ThisStatus
- ThisTypeAppType
- TupleAT
- TupleElement
- TypeAppType
- TypeMapDestructor
- TypeParam
- TypeTKind
- TypeType
- UnionType
- ValuesTypeDestructor
- VoidType
Source
Frequently Asked Questions
What does FlowTypes.ts do?
FlowTypes.ts is a source file in the react codebase, written in typescript. It belongs to the BabelCompiler domain.
What files import FlowTypes.ts?
FlowTypes.ts is imported by 1 file(s): Types.ts.
Where is FlowTypes.ts in the architecture?
FlowTypes.ts is located at compiler/packages/babel-plugin-react-compiler/src/Flood/FlowTypes.ts (domain: BabelCompiler, directory: compiler/packages/babel-plugin-react-compiler/src/Flood).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free