Home / Function/ visitors.ExportDefaultDeclaration() — svelte Function Reference

visitors.ExportDefaultDeclaration() — svelte Function Reference

Architecture documentation for the visitors.ExportDefaultDeclaration() function in remove_typescript_nodes.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  d728823d_c2f3_a8f7_953d_2c48abdd95a7["visitors.ExportDefaultDeclaration()"]
  0e67864d_62c6_024e_3588_da959afe5b23["remove_typescript_nodes.js"]
  d728823d_c2f3_a8f7_953d_2c48abdd95a7 -->|defined in| 0e67864d_62c6_024e_3588_da959afe5b23
  style d728823d_c2f3_a8f7_953d_2c48abdd95a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js lines 69–72

	ExportDefaultDeclaration(node) {
		if (node.exportKind === 'type') return b.empty;
		return node;
	},

Domain

Subdomains

Frequently Asked Questions

What does visitors.ExportDefaultDeclaration() do?
visitors.ExportDefaultDeclaration() is a function in the svelte codebase, defined in packages/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js.
Where is visitors.ExportDefaultDeclaration() defined?
visitors.ExportDefaultDeclaration() is defined in packages/svelte/src/compiler/phases/1-parse/remove_typescript_nodes.js at line 69.

Analyze Your Own Codebase

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

Try Supermodel Free