svelte_element_invalid_this() — svelte Function Reference
Architecture documentation for the svelte_element_invalid_this() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 373c067c_c3cb_f5fa_d20b_e0dc2b342380["svelte_element_invalid_this()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] 373c067c_c3cb_f5fa_d20b_e0dc2b342380 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 be9cd3f4_bdc5_dc26_dae4_4a34e45ab7eb["element()"] be9cd3f4_bdc5_dc26_dae4_4a34e45ab7eb -->|calls| 373c067c_c3cb_f5fa_d20b_e0dc2b342380 style 373c067c_c3cb_f5fa_d20b_e0dc2b342380 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 833–835
export function svelte_element_invalid_this(node) {
w(node, 'svelte_element_invalid_this', `\`this\` should be an \`{expression}\`. Using a string attribute value will cause an error in future versions of Svelte\nhttps://svelte.dev/e/svelte_element_invalid_this`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does svelte_element_invalid_this() do?
svelte_element_invalid_this() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is svelte_element_invalid_this() defined?
svelte_element_invalid_this() is defined in packages/svelte/src/compiler/warnings.js at line 833.
What calls svelte_element_invalid_this()?
svelte_element_invalid_this() is called by 1 function(s): element.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free