Home / Type/ EachBlock Type — svelte Architecture

EachBlock Type — svelte Architecture

Architecture documentation for the EachBlock type/interface in index.d.ts from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  5e35658f_9ee4_aaa5_15de_4c2e5ea29d12["EachBlock"]
  6bd9d090_a582_e05c_669e_d53d4e7245f2["index.d.ts"]
  5e35658f_9ee4_aaa5_15de_4c2e5ea29d12 -->|defined in| 6bd9d090_a582_e05c_669e_d53d4e7245f2
  style 5e35658f_9ee4_aaa5_15de_4c2e5ea29d12 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/types/index.d.ts lines 1481–1490

		export interface EachBlock extends BaseNode {
			type: 'EachBlock';
			expression: Expression;
			/** The `entry` in `{#each item as entry}`. `null` if `as` part is omitted */
			context: Pattern | null;
			body: Fragment;
			fallback?: Fragment;
			index?: string;
			key?: Expression;
		}

Frequently Asked Questions

What is the EachBlock type?
EachBlock is a type/interface in the svelte codebase, defined in packages/svelte/types/index.d.ts.
Where is EachBlock defined?
EachBlock is defined in packages/svelte/types/index.d.ts at line 1481.

Analyze Your Own Codebase

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

Try Supermodel Free