Home / Type/ CompileDiagnosticEvent Type — react Architecture

CompileDiagnosticEvent Type — react Architecture

Architecture documentation for the CompileDiagnosticEvent type/interface in Options.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  9d81ce09_b287_6756_9b4a_cf70a79ff197["CompileDiagnosticEvent"]
  4828f3cc_e6ac_9239_d7f7_c05f7f60419c["Options.ts"]
  9d81ce09_b287_6756_9b4a_cf70a79ff197 -->|defined in| 4828f3cc_e6ac_9239_d7f7_c05f7f60419c
  style 9d81ce09_b287_6756_9b4a_cf70a79ff197 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts lines 267–271

export type CompileDiagnosticEvent = {
  kind: 'CompileDiagnostic';
  fnLoc: t.SourceLocation | null;
  detail: Omit<Omit<CompilerErrorDetailOptions, 'severity'>, 'suggestions'>;
};

Frequently Asked Questions

What is the CompileDiagnosticEvent type?
CompileDiagnosticEvent is a type/interface in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts.
Where is CompileDiagnosticEvent defined?
CompileDiagnosticEvent is defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts at line 267.

Analyze Your Own Codebase

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

Try Supermodel Free