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

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
Accessibility ../../base/Accessibility
BaseNode ../../base/BaseNode
TSTypeAnnotation ../../special/TSTypeAnnotation/spec
Parameter ../../unions/Parameter

Interfaces

TSIndexSignature

Interface Code
export interface TSIndexSignature extends BaseNode {
  type: AST_NODE_TYPES.TSIndexSignature;
  accessibility: Accessibility | undefined;
  parameters: Parameter[];
  readonly: boolean;
  static: boolean;
  typeAnnotation: TSTypeAnnotation | undefined;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.TSIndexSignature
accessibility Accessibility | undefined
parameters Parameter[]
readonly boolean
static boolean
typeAnnotation TSTypeAnnotation | undefined