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/TSAbstractPropertyDefinition/spec.ts

📦 Imports

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

Interfaces

TSAbstractPropertyDefinitionComputedName

Interface Code
export interface TSAbstractPropertyDefinitionComputedName
  extends PropertyDefinitionComputedNameBase {
  type: AST_NODE_TYPES.TSAbstractPropertyDefinition;
  value: null;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.TSAbstractPropertyDefinition
value null

TSAbstractPropertyDefinitionNonComputedName

Interface Code
export interface TSAbstractPropertyDefinitionNonComputedName
  // this does not extend ClassPropertyDefinitionNonComputedNameBase because abstract private names are not allowed
  extends PropertyDefinitionNonComputedNameBase {
  type: AST_NODE_TYPES.TSAbstractPropertyDefinition;
  value: null;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.TSAbstractPropertyDefinition
value null

Type Aliases

TSAbstractPropertyDefinition

type TSAbstractPropertyDefinition = | TSAbstractPropertyDefinitionComputedName
  | TSAbstractPropertyDefinitionNonComputedName;