SourceMapEntry Type — svelte Architecture
Architecture documentation for the SourceMapEntry type/interface in test.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 5de3da2e_6bd6_a54f_f3a5_e8ef4c98c932["SourceMapEntry"] 032186a9_8a8b_b603_4335_6ade22d767cb["test.ts"] 5de3da2e_6bd6_a54f_f3a5_e8ef4c98c932 -->|defined in| 032186a9_8a8b_b603_4335_6ade22d767cb style 5de3da2e_6bd6_a54f_f3a5_e8ef4c98c932 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/sourcemaps/test.ts lines 8–21
type SourceMapEntry =
| string
| {
/** If not the first occurrence, but the nth should be found */
idxOriginal?: number;
/** If not the first occurrence, but the nth should be found */
idxGenerated?: number;
/** The original string to find */
str: string;
/** The generated string to find. You can omit this if it's the same as the original string */
strGenerated?: string | null;
/** If the original code lives in a different file, pass its source code here */
code?: string;
};
Defined In
Source
Frequently Asked Questions
What is the SourceMapEntry type?
SourceMapEntry is a type/interface in the svelte codebase, defined in packages/svelte/tests/sourcemaps/test.ts.
Where is SourceMapEntry defined?
SourceMapEntry is defined in packages/svelte/tests/sourcemaps/test.ts at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free