unsupportedTypeAnnotation() — react Function Reference
Architecture documentation for the unsupportedTypeAnnotation() function in TypeErrors.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 383c6e01_ae92_37d0_4770_0bf1d393335e["unsupportedTypeAnnotation()"] 8086dd94_cb7f_b871_d873_325159c25b69["TypeErrors.ts"] 383c6e01_ae92_37d0_4770_0bf1d393335e -->|defined in| 8086dd94_cb7f_b871_d873_325159c25b69 25b31b43_6836_a603_053e_6e3ab2e0e8ee["convertFlowType()"] 25b31b43_6836_a603_053e_6e3ab2e0e8ee -->|calls| 383c6e01_ae92_37d0_4770_0bf1d393335e style 383c6e01_ae92_37d0_4770_0bf1d393335e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Flood/TypeErrors.ts lines 92–100
export function unsupportedTypeAnnotation(
desc: string,
loc: SourceLocation,
): never {
CompilerError.throwInvalidJS({
reason: `Typedchecker does not currently support type annotation: ${desc}`,
loc,
});
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does unsupportedTypeAnnotation() do?
unsupportedTypeAnnotation() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Flood/TypeErrors.ts.
Where is unsupportedTypeAnnotation() defined?
unsupportedTypeAnnotation() is defined in compiler/packages/babel-plugin-react-compiler/src/Flood/TypeErrors.ts at line 92.
What calls unsupportedTypeAnnotation()?
unsupportedTypeAnnotation() is called by 1 function(s): convertFlowType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free