Home / Type/ ElementLike Type — svelte Architecture

ElementLike Type — svelte Architecture

Architecture documentation for the ElementLike type/interface in template.d.ts from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  0d99db7c_b738_f4dd_3ff3_4c4dc25a3ee2["ElementLike"]
  628b0d7d_f8bd_9570_9133_f9b9af4f58aa["template.d.ts"]
  0d99db7c_b738_f4dd_3ff3_4c4dc25a3ee2 -->|defined in| 628b0d7d_f8bd_9570_9133_f9b9af4f58aa
  style 0d99db7c_b738_f4dd_3ff3_4c4dc25a3ee2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/types/template.d.ts lines 601–616

	export type ElementLike =
		| AST.Component
		| AST.TitleElement
		| AST.SlotElement
		| AST.RegularElement
		| AST.SvelteBody
		| AST.SvelteBoundary
		| AST.SvelteComponent
		| AST.SvelteDocument
		| AST.SvelteElement
		| AST.SvelteFragment
		| AST.SvelteHead
		| AST.SvelteOptionsRaw
		| AST.SvelteSelf
		| AST.SvelteWindow
		| AST.SvelteBoundary;

Frequently Asked Questions

What is the ElementLike type?
ElementLike is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/types/template.d.ts.
Where is ElementLike defined?
ElementLike is defined in packages/svelte/src/compiler/types/template.d.ts at line 601.

Analyze Your Own Codebase

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

Try Supermodel Free