Skip to content

⬅️ Back to Table of Contents

📄 TSIndexSignature/spec

📊 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 not shown
accessibility Accessibility \| undefined not shown
parameters Parameter[] not shown
readonly boolean not shown
static boolean not shown
typeAnnotation TSTypeAnnotation \| undefined not shown

Generated by Syntax Scribe