Home / Type/ DeclarationKind Type — svelte Architecture

DeclarationKind Type — svelte Architecture

Architecture documentation for the DeclarationKind type/interface in index.d.ts from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  9a2789a4_0bb2_279d_8892_78a6e23a7fe5["DeclarationKind"]
  d1a9b9b5_cc04_9500_c39a_435c606b0766["index.d.ts"]
  9a2789a4_0bb2_279d_8892_78a6e23a7fe5 -->|defined in| d1a9b9b5_cc04_9500_c39a_435c606b0766
  style 9a2789a4_0bb2_279d_8892_78a6e23a7fe5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/types/index.d.ts lines 282–295

export type DeclarationKind =
	| 'var'
	| 'let'
	| 'const'
	| 'using'
	| 'await using'
	| 'function'
	| 'import'
	| 'param'
	| 'rest_param'
	| 'synthetic'
	// TODO not yet implemented, but needed for TypeScript reasons
	| 'using'
	| 'await using';

Frequently Asked Questions

What is the DeclarationKind type?
DeclarationKind is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/types/index.d.ts.
Where is DeclarationKind defined?
DeclarationKind is defined in packages/svelte/src/compiler/types/index.d.ts at line 282.

Analyze Your Own Codebase

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

Try Supermodel Free