Skip to content

⬅️ Back to Table of Contents

📄 TSEnumMember/spec

📊 Analysis Summary

Metric Count
📦 Imports 5
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

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

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
BaseNode ../../base/BaseNode
Identifier ../../expression/Identifier/spec
StringLiteral ../../expression/literal/StringLiteral/spec
Expression ../../unions/Expression

Interfaces

TSEnumMember

Interface Code
export interface TSEnumMember extends BaseNode {
  type: AST_NODE_TYPES.TSEnumMember;
  id: Identifier | StringLiteral;
  initializer: Expression | undefined;
  /**
   * @deprecated the enum member is always non-computed.
   */
  computed: boolean;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.TSEnumMember not shown
id Identifier \| StringLiteral not shown
initializer Expression \| undefined not shown
computed boolean not shown

Generated by Syntax Scribe