Home / Type/ ComponentEvents Type — svelte Architecture

ComponentEvents Type — svelte Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/svelte/types/index.d.ts lines 200–201

	export type ComponentEvents<Comp extends SvelteComponent> =
		Comp extends SvelteComponent<any, infer Events> ? Events : never;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free