Skip to content

⬅️ Back to Table of Contents

📄 ArrayPattern/spec

📊 Analysis Summary

Metric Count
📦 Imports 5
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/parameter/ArrayPattern/spec.ts

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
BaseNode ../../base/BaseNode
Decorator ../../special/Decorator/spec
TSTypeAnnotation ../../special/TSTypeAnnotation/spec
DestructuringPattern ../../unions/DestructuringPattern

Interfaces

ArrayPattern

Interface Code
export interface ArrayPattern extends BaseNode {
  type: AST_NODE_TYPES.ArrayPattern;
  decorators: Decorator[];
  elements: (DestructuringPattern | null)[];
  optional: boolean;
  typeAnnotation: TSTypeAnnotation | undefined;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.ArrayPattern not shown
decorators Decorator[] not shown
elements (DestructuringPattern \| null)[] not shown
optional boolean not shown
typeAnnotation TSTypeAnnotation \| undefined not shown

Generated by Syntax Scribe