Skip to content

⬅️ Back to Table of Contents

📄 spec.ts

📊 Analysis Summary

Metric Count
📦 Imports 3
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/declaration/ExportDefaultDeclaration/spec.ts

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
BaseNode ../../base/BaseNode
DefaultExportDeclarations ../../unions/ExportDeclaration

Interfaces

ExportDefaultDeclaration

Interface Code
export interface ExportDefaultDeclaration extends BaseNode {
  type: AST_NODE_TYPES.ExportDefaultDeclaration;
  /**
   * The declaration being exported.
   */
  declaration: DefaultExportDeclarations;
  /**
   * The kind of the export. Always `value` for default exports.
   */
  exportKind: 'value';
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.ExportDefaultDeclaration
declaration DefaultExportDeclarations
exportKind 'value'