Skip to content

⬅️ Back to Table of Contents

📄 spec.ts

📊 Analysis Summary

Metric Count
📦 Imports 3
📐 Interfaces 2
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/element/AccessorProperty/spec.ts

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
PropertyDefinitionComputedNameBase ../../base/PropertyDefinitionBase
PropertyDefinitionNonComputedNameBase ../../base/PropertyDefinitionBase

Interfaces

AccessorPropertyComputedName

Interface Code
export interface AccessorPropertyComputedName
  extends PropertyDefinitionComputedNameBase {
  type: AST_NODE_TYPES.AccessorProperty;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.AccessorProperty

AccessorPropertyNonComputedName

Interface Code
export interface AccessorPropertyNonComputedName
  extends PropertyDefinitionNonComputedNameBase {
  type: AST_NODE_TYPES.AccessorProperty;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.AccessorProperty

Type Aliases

AccessorProperty

type AccessorProperty = | AccessorPropertyComputedName
  | AccessorPropertyNonComputedName;