Home / Type/ ActionReturn Type — svelte Architecture

ActionReturn Type — svelte Architecture

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

Entity Profile

Dependency Diagram

graph TD
  ac532733_83eb_8706_bec4_dcec0a20ebff["ActionReturn"]
  08f44953_55cc_7c3b_6aa5_52d9a22ac69e["public.d.ts"]
  ac532733_83eb_8706_bec4_dcec0a20ebff -->|defined in| 08f44953_55cc_7c3b_6aa5_52d9a22ac69e
  style ac532733_83eb_8706_bec4_dcec0a20ebff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/action/public.d.ts lines 27–39

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/src/action/public.d.ts.
Where is ActionReturn defined?
ActionReturn is defined in packages/svelte/src/action/public.d.ts at line 27.

Analyze Your Own Codebase

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

Try Supermodel Free