props_invalid_identifier() — svelte Function Reference
Architecture documentation for the props_invalid_identifier() function in errors.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 106b5085_0bf8_d3d4_7000_b137b0fca0bb["props_invalid_identifier()"] 495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"] 106b5085_0bf8_d3d4_7000_b137b0fca0bb -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218 533f6c0a_5a99_4a6e_a54c_59fc0c845257["VariableDeclarator()"] 533f6c0a_5a99_4a6e_a54c_59fc0c845257 -->|calls| 106b5085_0bf8_d3d4_7000_b137b0fca0bb style 106b5085_0bf8_d3d4_7000_b137b0fca0bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/errors.js lines 344–346
export function props_invalid_identifier(node) {
e(node, 'props_invalid_identifier', `\`$props()\` can only be used with an object destructuring pattern\nhttps://svelte.dev/e/props_invalid_identifier`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does props_invalid_identifier() do?
props_invalid_identifier() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is props_invalid_identifier() defined?
props_invalid_identifier() is defined in packages/svelte/src/compiler/errors.js at line 344.
What calls props_invalid_identifier()?
props_invalid_identifier() is called by 1 function(s): VariableDeclarator.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free