Home / Type/ ActionReturn Type — svelte Architecture

ActionReturn Type — svelte Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/svelte/types/index.d.ts lines 631–643

	export interface ActionReturn<
		Parameter = undefined,
		Attributes extends Record<string, any> = Record<never, any>
	> {
		update?: (parameter: Parameter) => void;
		destroy?: () => void;
		/**
		 * ### DO NOT USE THIS
		 * This exists solely for type-checking and has no effect at runtime.
		 * Set this through the `Attributes` generic instead.
		 */
		$$_attributes?: Attributes;
	}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free