args() — svelte Function Reference
Architecture documentation for the args() function in shared.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 388c0130_a07f_2235_4d22_320f08b829d7["args()"] 2cf8977f_8bb9_9ef1_6e90_d6eea1dac831["shared.ts"] 388c0130_a07f_2235_4d22_320f08b829d7 -->|defined in| 2cf8977f_8bb9_9ef1_6e90_d6eea1dac831 style 388c0130_a07f_2235_4d22_320f08b829d7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/runtime-legacy/shared.ts lines 62–86
test?: (args: {
variant: 'dom' | 'hydrate';
assert: Assert;
compileOptions: CompileOptions;
component: Props & {
[key: string]: any;
};
instance: Record<string, any>;
mod: any;
ok: typeof ok;
raf: {
tick: (ms: number) => void;
};
target: HTMLElement;
window: Window & {
Event: typeof Event;
InputEvent: typeof InputEvent;
KeyboardEvent: typeof KeyboardEvent;
MouseEvent: typeof MouseEvent;
};
logs: any[];
warnings: any[];
errors: any[];
hydrate: Function;
}) => void | Promise<void>;
Domain
Subdomains
Source
Frequently Asked Questions
What does args() do?
args() is a function in the svelte codebase, defined in packages/svelte/tests/runtime-legacy/shared.ts.
Where is args() defined?
args() is defined in packages/svelte/tests/runtime-legacy/shared.ts at line 62.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free