Skip to content

⬅️ Back to Table of Contents

📄 ClassElement.ts

📊 Analysis Summary

Metric Count
📦 Imports 8
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/unions/ClassElement.ts

📦 Imports

Name Source
AccessorProperty ../element/AccessorProperty/spec
MethodDefinition ../element/MethodDefinition/spec
PropertyDefinition ../element/PropertyDefinition/spec
StaticBlock ../element/StaticBlock/spec
TSAbstractAccessorProperty ../element/TSAbstractAccessorProperty/spec
TSAbstractMethodDefinition ../element/TSAbstractMethodDefinition/spec
TSAbstractPropertyDefinition ../element/TSAbstractPropertyDefinition/spec
TSIndexSignature ../element/TSIndexSignature/spec

Type Aliases

ClassElement

type ClassElement = | AccessorProperty
  | MethodDefinition
  | PropertyDefinition
  | StaticBlock
  | TSAbstractAccessorProperty
  | TSAbstractMethodDefinition
  | TSAbstractPropertyDefinition
  | TSIndexSignature;