Root Type — svelte Architecture
Architecture documentation for the Root type/interface in index.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD c6b56c90_29b0_1c3e_dcb9_2fe960dcf95f["Root"] 6bd9d090_a582_e05c_669e_d53d4e7245f2["index.d.ts"] c6b56c90_29b0_1c3e_dcb9_2fe960dcf95f -->|defined in| 6bd9d090_a582_e05c_669e_d53d4e7245f2 style c6b56c90_29b0_1c3e_dcb9_2fe960dcf95f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/types/index.d.ts lines 1207–1222
export interface Root extends BaseNode {
type: 'Root';
/**
* Inline options provided by `<svelte:options>` — these override options passed to `compile(...)`
*/
options: SvelteOptions | null;
fragment: Fragment;
/** The parsed `<style>` element, if exists */
css: AST.CSS.StyleSheet | null;
/** The parsed `<script>` element, if exists */
instance: Script | null;
/** The parsed `<script module>` element, if exists */
module: Script | null;
/** Comments found in <script> and {expressions} */
comments: JSComment[];
}
Defined In
Source
Frequently Asked Questions
What is the Root type?
Root is a type/interface in the svelte codebase, defined in packages/svelte/types/index.d.ts.
Where is Root defined?
Root is defined in packages/svelte/types/index.d.ts at line 1207.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free