Home / Type/ FunctionTypeConfig Type — react Architecture

FunctionTypeConfig Type — react Architecture

Architecture documentation for the FunctionTypeConfig type/interface in TypeSchema.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  bcfee20e_17c1_a599_4d8f_fbdb670787d1["FunctionTypeConfig"]
  5e35ae0f_bcda_75e5_55c4_a894ff043a95["TypeSchema.ts"]
  bcfee20e_17c1_a599_4d8f_fbdb670787d1 -->|defined in| 5e35ae0f_bcda_75e5_55c4_a894ff043a95
  style bcfee20e_17c1_a599_4d8f_fbdb670787d1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/TypeSchema.ts lines 242–255

export type FunctionTypeConfig = {
  kind: 'function';
  positionalParams: Array<Effect>;
  restParam: Effect | null;
  calleeEffect: Effect;
  returnType: TypeConfig;
  returnValueKind: ValueKind;
  noAlias?: boolean | null | undefined;
  mutableOnlyIfOperandsAreMutable?: boolean | null | undefined;
  impure?: boolean | null | undefined;
  canonicalName?: string | null | undefined;
  aliasing?: AliasingSignatureConfig | null | undefined;
  knownIncompatible?: string | null | undefined;
};

Frequently Asked Questions

What is the FunctionTypeConfig type?
FunctionTypeConfig is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/TypeSchema.ts.
Where is FunctionTypeConfig defined?
FunctionTypeConfig is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/TypeSchema.ts at line 242.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free