Skip to content

⬅️ Back to Table of Contents

📄 types/src/ts-estree

📊 Analysis Summary

Metric Count
🔄 Re-exports 1
📐 Interfaces 60
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

📂 packages/types/src/ts-estree.ts

Re-exports

Type Source Exported Names
namespace ./generated/ast-spec TSESTree

Interfaces

BaseNode

Interface Code
interface BaseNode {
    parent: TSESTree.Node;
  }

Properties

Name Type Optional Description
parent TSESTree.Node not shown

Program

Interface Code
interface Program {
    /**
     * @remarks This never-used property exists only as a convenience for code that tries to access node parents repeatedly.
     */
    parent?: never;
  }

Properties

Name Type Optional Description
parent never not shown

AccessorPropertyComputedName

Interface Code
interface AccessorPropertyComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

AccessorPropertyNonComputedName

Interface Code
interface AccessorPropertyNonComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

TSAbstractAccessorPropertyComputedName

Interface Code
interface TSAbstractAccessorPropertyComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

TSAbstractAccessorPropertyNonComputedName

Interface Code
interface TSAbstractAccessorPropertyNonComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

VariableDeclaratorDefiniteAssignment

Interface Code
interface VariableDeclaratorDefiniteAssignment {
    parent: TSESTree.VariableDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration not shown

VariableDeclaratorMaybeInit

Interface Code
interface VariableDeclaratorMaybeInit {
    parent: TSESTree.VariableDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration not shown

VariableDeclaratorNoInit

Interface Code
interface VariableDeclaratorNoInit {
    parent: TSESTree.VariableDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration not shown

UsingInForOfDeclarator

Interface Code
interface UsingInForOfDeclarator {
    parent: TSESTree.VariableDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration not shown

UsingInNormalContextDeclarator

Interface Code
interface UsingInNormalContextDeclarator {
    parent: TSESTree.VariableDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration not shown

CatchClause

Interface Code
interface CatchClause {
    parent: TSESTree.TryStatement;
  }

Properties

Name Type Optional Description
parent TSESTree.TryStatement not shown

ClassBody

Interface Code
interface ClassBody {
    parent: TSESTree.ClassDeclaration | TSESTree.ClassExpression;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassDeclaration \| TSESTree.ClassExpression not shown

ImportAttribute

Interface Code
interface ImportAttribute {
    parent:
      | TSESTree.ExportAllDeclaration
      | TSESTree.ExportNamedDeclaration
      | TSESTree.ImportDeclaration
      | TSESTree.TSImportType;
  }

Properties

Name Type Optional Description
parent \| TSESTree.ExportAllDeclaration \| TSESTree.ExportNamedDeclaration \| TSESTr... not shown

ImportDefaultSpecifier

Interface Code
interface ImportDefaultSpecifier {
    parent: TSESTree.ImportDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.ImportDeclaration not shown

ImportNamespaceSpecifier

Interface Code
interface ImportNamespaceSpecifier {
    parent: TSESTree.ImportDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.ImportDeclaration not shown

ImportSpecifier

Interface Code
interface ImportSpecifier {
    parent:
      | TSESTree.ExportAllDeclaration
      | TSESTree.ExportNamedDeclaration
      | TSESTree.ImportDeclaration;
  }

Properties

Name Type Optional Description
parent \| TSESTree.ExportAllDeclaration \| TSESTree.ExportNamedDeclaration \| TSESTr... not shown

ExportDefaultDeclaration

Interface Code
interface ExportDefaultDeclaration {
    parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock;
  }

Properties

Name Type Optional Description
parent TSESTree.BlockStatement \| TSESTree.Program \| TSESTree.TSModuleBlock not shown

ExportNamedDeclarationWithoutSourceWithMultiple

Interface Code
interface ExportNamedDeclarationWithoutSourceWithMultiple {
    parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock;
  }

Properties

Name Type Optional Description
parent TSESTree.BlockStatement \| TSESTree.Program \| TSESTree.TSModuleBlock not shown

ExportNamedDeclarationWithoutSourceWithSingle

Interface Code
interface ExportNamedDeclarationWithoutSourceWithSingle {
    parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock;
  }

Properties

Name Type Optional Description
parent TSESTree.BlockStatement \| TSESTree.Program \| TSESTree.TSModuleBlock not shown

ExportNamedDeclarationWithSource

Interface Code
interface ExportNamedDeclarationWithSource {
    parent: TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock;
  }

Properties

Name Type Optional Description
parent TSESTree.BlockStatement \| TSESTree.Program \| TSESTree.TSModuleBlock not shown

FunctionDeclarationWithName

Interface Code
interface FunctionDeclarationWithName {
    parent:
      | TSESTree.BlockStatement
      | TSESTree.ExportDefaultDeclaration
      | TSESTree.ExportNamedDeclaration
      | TSESTree.Program;
  }

Properties

Name Type Optional Description
parent \| TSESTree.BlockStatement \| TSESTree.ExportDefaultDeclaration \| TSESTree.E... not shown

FunctionDeclarationWithOptionalName

Interface Code
interface FunctionDeclarationWithOptionalName {
    parent: TSESTree.ExportDefaultDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.ExportDefaultDeclaration not shown

JSXAttribute

Interface Code
interface JSXAttribute {
    parent: TSESTree.JSXOpeningElement;
  }

Properties

Name Type Optional Description
parent TSESTree.JSXOpeningElement not shown

JSXClosingElement

Interface Code
interface JSXClosingElement {
    parent: TSESTree.JSXElement;
  }

Properties

Name Type Optional Description
parent TSESTree.JSXElement not shown

JSXClosingFragment

Interface Code
interface JSXClosingFragment {
    parent: TSESTree.JSXFragment;
  }

Properties

Name Type Optional Description
parent TSESTree.JSXFragment not shown

JSXOpeningElement

Interface Code
interface JSXOpeningElement {
    parent: TSESTree.JSXElement;
  }

Properties

Name Type Optional Description
parent TSESTree.JSXElement not shown

JSXOpeningFragment

Interface Code
interface JSXOpeningFragment {
    parent: TSESTree.JSXFragment;
  }

Properties

Name Type Optional Description
parent TSESTree.JSXFragment not shown

JSXSpreadAttribute

Interface Code
interface JSXSpreadAttribute {
    parent: TSESTree.JSXOpeningElement;
  }

Properties

Name Type Optional Description
parent TSESTree.JSXOpeningElement not shown

MethodDefinitionComputedName

Interface Code
interface MethodDefinitionComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

MethodDefinitionNonComputedName

Interface Code
interface MethodDefinitionNonComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

TSAbstractMethodDefinitionComputedName

Interface Code
interface TSAbstractMethodDefinitionComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

TSAbstractMethodDefinitionNonComputedName

Interface Code
interface TSAbstractMethodDefinitionNonComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

PropertyComputedName

Interface Code
interface PropertyComputedName {
    parent: TSESTree.ObjectExpression | TSESTree.ObjectPattern;
  }

Properties

Name Type Optional Description
parent TSESTree.ObjectExpression \| TSESTree.ObjectPattern not shown

PropertyNonComputedName

Interface Code
interface PropertyNonComputedName {
    parent: TSESTree.ObjectExpression | TSESTree.ObjectPattern;
  }

Properties

Name Type Optional Description
parent TSESTree.ObjectExpression \| TSESTree.ObjectPattern not shown

PropertyDefinitionComputedName

Interface Code
interface PropertyDefinitionComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

PropertyDefinitionNonComputedName

Interface Code
interface PropertyDefinitionNonComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

TSAbstractPropertyDefinitionComputedName

Interface Code
interface TSAbstractPropertyDefinitionComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

TSAbstractPropertyDefinitionNonComputedName

Interface Code
interface TSAbstractPropertyDefinitionNonComputedName {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

SpreadElement

Interface Code
interface SpreadElement {
    parent:
      | TSESTree.ArrayExpression
      | TSESTree.CallExpression
      | TSESTree.NewExpression
      | TSESTree.ObjectExpression;
  }

Properties

Name Type Optional Description
parent \| TSESTree.ArrayExpression \| TSESTree.CallExpression \| TSESTree.NewExpress... not shown

StaticBlock

Interface Code
interface StaticBlock {
    parent: TSESTree.ClassBody;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody not shown

SwitchCase

Interface Code
interface SwitchCase {
    parent: TSESTree.SwitchStatement;
  }

Properties

Name Type Optional Description
parent TSESTree.SwitchStatement not shown

TemplateElement

Interface Code
interface TemplateElement {
    parent: TSESTree.TemplateLiteral | TSESTree.TSTemplateLiteralType;
  }

Properties

Name Type Optional Description
parent TSESTree.TemplateLiteral \| TSESTree.TSTemplateLiteralType not shown

TSCallSignatureDeclaration

Interface Code
interface TSCallSignatureDeclaration {
    parent: TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSConstructSignatureDeclaration

Interface Code
interface TSConstructSignatureDeclaration {
    parent: TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSClassImplements

Interface Code
interface TSClassImplements {
    parent: TSESTree.ClassDeclaration | TSESTree.ClassExpression;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassDeclaration \| TSESTree.ClassExpression not shown

TSEnumBody

Interface Code
interface TSEnumBody {
    parent: TSESTree.TSEnumDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.TSEnumDeclaration not shown

TSEnumMember

Interface Code
interface TSEnumMember {
    parent: TSESTree.TSEnumBody;
  }

Properties

Name Type Optional Description
parent TSESTree.TSEnumBody not shown

TSIndexSignature

Interface Code
interface TSIndexSignature {
    parent:
      TSESTree.ClassBody | TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.ClassBody \| TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSInterfaceBody

Interface Code
interface TSInterfaceBody {
    parent: TSESTree.TSInterfaceDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceDeclaration not shown

TSInterfaceHeritage

Interface Code
interface TSInterfaceHeritage {
    parent: TSESTree.TSInterfaceBody;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody not shown

TSMethodSignatureComputedName

Interface Code
interface TSMethodSignatureComputedName {
    parent: TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSMethodSignatureNonComputedName

Interface Code
interface TSMethodSignatureNonComputedName {
    parent: TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSModuleBlock

Interface Code
interface TSModuleBlock {
    parent: TSESTree.TSModuleDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.TSModuleDeclaration not shown

TSParameterProperty

Interface Code
interface TSParameterProperty {
    parent: TSESTree.FunctionLike;
  }

Properties

Name Type Optional Description
parent TSESTree.FunctionLike not shown

TSPropertySignatureComputedName

Interface Code
interface TSPropertySignatureComputedName {
    parent: TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSPropertySignatureNonComputedName

Interface Code
interface TSPropertySignatureNonComputedName {
    parent: TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral;
  }

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody \| TSESTree.TSTypeLiteral not shown

TSTypeParameter

Interface Code
interface TSTypeParameter {
    parent:
      | TSESTree.TSInferType
      | TSESTree.TSMappedType
      | TSESTree.TSTypeParameterDeclaration;
  }

Properties

Name Type Optional Description
parent \| TSESTree.TSInferType \| TSESTree.TSMappedType \| TSESTree.TSTypeParameterD... not shown

ExportSpecifierWithIdentifierLocal

Interface Code
interface ExportSpecifierWithIdentifierLocal {
    parent: TSESTree.ExportNamedDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.ExportNamedDeclaration not shown

ExportSpecifierWithStringOrLiteralLocal

Interface Code
interface ExportSpecifierWithStringOrLiteralLocal {
    parent: TSESTree.ExportNamedDeclaration;
  }

Properties

Name Type Optional Description
parent TSESTree.ExportNamedDeclaration not shown

Type Aliases

NodeWithParent

type NodeWithParent = Exclude<TSESTree.Node, TSESTree.Program>;

Generated by Syntax Scribe