Skip to content

⬅️ Back to Table of Contents

📄 TSParameterProperty/spec

📊 Analysis Summary

Metric Count
📦 Imports 6
📐 Interfaces 1
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

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

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
Accessibility ../../base/Accessibility
BaseNode ../../base/BaseNode
Identifier ../../expression/Identifier/spec
Decorator ../../special/Decorator/spec
AssignmentPattern ../AssignmentPattern/spec

Interfaces

TSParameterProperty

Interface Code
export interface TSParameterProperty extends BaseNode {
  type: AST_NODE_TYPES.TSParameterProperty;
  accessibility: Accessibility | undefined;
  decorators: Decorator[];
  override: boolean;
  parameter: ParameterPropertyParameter;
  readonly: boolean;
  static: boolean;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.TSParameterProperty not shown
accessibility Accessibility \| undefined not shown
decorators Decorator[] not shown
override boolean not shown
parameter ParameterPropertyParameter not shown
readonly boolean not shown
static boolean not shown

Type Aliases

ParameterPropertyParameter

type ParameterPropertyParameter = (AssignmentPattern & { left: Identifier }) | Identifier;

Generated by Syntax Scribe