custom_element_props_identifier() — svelte Function Reference
Architecture documentation for the custom_element_props_identifier() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD a82fa95e_e0e4_d369_e0df_a6d12caf8c6a["custom_element_props_identifier()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] a82fa95e_e0e4_d369_e0df_a6d12caf8c6a -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 533f6c0a_5a99_4a6e_a54c_59fc0c845257["VariableDeclarator()"] 533f6c0a_5a99_4a6e_a54c_59fc0c845257 -->|calls| a82fa95e_e0e4_d369_e0df_a6d12caf8c6a style a82fa95e_e0e4_d369_e0df_a6d12caf8c6a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 601–603
export function custom_element_props_identifier(node) {
w(node, 'custom_element_props_identifier', `Using a rest element or a non-destructured declaration with \`$props()\` means that Svelte can't infer what properties to expose when creating a custom element. Consider destructuring all the props or explicitly specifying the \`customElement.props\` option.\nhttps://svelte.dev/e/custom_element_props_identifier`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does custom_element_props_identifier() do?
custom_element_props_identifier() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is custom_element_props_identifier() defined?
custom_element_props_identifier() is defined in packages/svelte/src/compiler/warnings.js at line 601.
What calls custom_element_props_identifier()?
custom_element_props_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