Skip to content

⬅️ Back to Table of Contents

📄 spec.ts

📊 Analysis Summary

Metric Count
📦 Imports 5
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/special/ImportSpecifier/spec.ts

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
BaseNode ../../base/BaseNode
ImportKind ../../declaration/ExportAndImportKind
Identifier ../../expression/Identifier/spec
StringLiteral ../../expression/literal/StringLiteral/spec

Interfaces

ImportSpecifier

Interface Code
export interface ImportSpecifier extends BaseNode {
  type: AST_NODE_TYPES.ImportSpecifier;
  imported: Identifier | StringLiteral;
  importKind: ImportKind;
  local: Identifier;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.ImportSpecifier
imported Identifier | StringLiteral
importKind ImportKind
local Identifier