Skip to content

⬅️ Back to Table of Contents

📄 TSTypeParameter/spec

📊 Analysis Summary

Metric Count
📦 Imports 4
📐 Interfaces 1

📚 Table of Contents

🛠️ File Location:

📂 packages/ast-spec/src/special/TSTypeParameter/spec.ts

📦 Imports

Name Source
AST_NODE_TYPES ../../ast-node-types
BaseNode ../../base/BaseNode
Identifier ../../expression/Identifier/spec
TypeNode ../../unions/TypeNode

Interfaces

TSTypeParameter

Interface Code
export interface TSTypeParameter extends BaseNode {
  type: AST_NODE_TYPES.TSTypeParameter;
  const: boolean;
  constraint: TypeNode | undefined;
  default: TypeNode | undefined;
  in: boolean;
  name: Identifier;
  out: boolean;
}

Properties

Name Type Optional Description
type AST_NODE_TYPES.TSTypeParameter not shown
const boolean not shown
constraint TypeNode \| undefined not shown
default TypeNode \| undefined not shown
in boolean not shown
name Identifier not shown
out boolean not shown

Generated by Syntax Scribe