Home / Function/ isNoJsxCannotHaveMultipleAttrsError() — astro Function Reference

isNoJsxCannotHaveMultipleAttrsError() — astro Function Reference

Architecture documentation for the isNoJsxCannotHaveMultipleAttrsError() function in diagnostics.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  562b7158_e181_f16f_9d36_7424e94f1662["isNoJsxCannotHaveMultipleAttrsError()"]
  eb2f7d36_9d97_e74c_0d2e_fc25c2af688f["diagnostics.ts"]
  562b7158_e181_f16f_9d36_7424e94f1662 -->|defined in| eb2f7d36_9d97_e74c_0d2e_fc25c2af688f
  be35e5e8_d2ee_ceca_8e9a_5da51e32a48d["enhancedProvideSemanticDiagnostics()"]
  be35e5e8_d2ee_ceca_8e9a_5da51e32a48d -->|calls| 562b7158_e181_f16f_9d36_7424e94f1662
  style 562b7158_e181_f16f_9d36_7424e94f1662 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/language-tools/language-server/src/plugins/typescript/diagnostics.ts lines 112–114

function isNoJsxCannotHaveMultipleAttrsError(diagnostic: Diagnostic) {
	return diagnostic.code !== DiagnosticCodes.DUPLICATED_JSX_ATTRIBUTES;
}

Domain

Subdomains

Frequently Asked Questions

What does isNoJsxCannotHaveMultipleAttrsError() do?
isNoJsxCannotHaveMultipleAttrsError() is a function in the astro codebase, defined in packages/language-tools/language-server/src/plugins/typescript/diagnostics.ts.
Where is isNoJsxCannotHaveMultipleAttrsError() defined?
isNoJsxCannotHaveMultipleAttrsError() is defined in packages/language-tools/language-server/src/plugins/typescript/diagnostics.ts at line 112.
What calls isNoJsxCannotHaveMultipleAttrsError()?
isNoJsxCannotHaveMultipleAttrsError() is called by 1 function(s): enhancedProvideSemanticDiagnostics.

Analyze Your Own Codebase

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

Try Supermodel Free