Home / Type/ Processed Type — svelte Architecture

Processed Type — svelte Architecture

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

Entity Profile

Dependency Diagram

graph TD
  d516d618_58bf_b6ce_dbd2_59714a90d40d["Processed"]
  4b68a954_7c34_7bb2_fbf3_5c16d3cdab6f["public.d.ts"]
  d516d618_58bf_b6ce_dbd2_59714a90d40d -->|defined in| 4b68a954_7c34_7bb2_fbf3_5c16d3cdab6f
  style d516d618_58bf_b6ce_dbd2_59714a90d40d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/preprocess/public.d.ts lines 4–22

export interface Processed {
	/**
	 * The new code
	 */
	code: string;
	/**
	 * A source map mapping back to the original code
	 */
	map?: string | object; // we are opaque with the type here to avoid dependency on the remapping module for our public types.
	/**
	 * A list of additional files to watch for changes
	 */
	dependencies?: string[];
	/**
	 * Only for script/style preprocessors: The updated attributes to set on the tag. If undefined, attributes stay unchanged.
	 */
	attributes?: Record<string, string | boolean>;
	toString?: () => string;
}

Frequently Asked Questions

What is the Processed type?
Processed is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/preprocess/public.d.ts.
Where is Processed defined?
Processed is defined in packages/svelte/src/compiler/preprocess/public.d.ts at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free