Skip to content

⬅️ Back to Table of Contents

📄 ts-estree.ts

📊 Analysis Summary

Metric Count
🔄 Re-exports 1
📐 Interfaces 61

📚 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

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

AccessorPropertyComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

AccessorPropertyNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

TSAbstractAccessorPropertyComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

TSAbstractAccessorPropertyNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

VariableDeclaratorDefiniteAssignment

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

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration

VariableDeclaratorMaybeInit

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

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration

VariableDeclaratorNoInit

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

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration

UsingInForOfDeclarator

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

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration

UsingInNormalContextDeclarator

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

Properties

Name Type Optional Description
parent TSESTree.VariableDeclaration

CatchClause

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

Properties

Name Type Optional Description
parent TSESTree.TryStatement

ClassBody

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

Properties

Name Type Optional Description
parent TSESTree.ClassDeclaration | TSESTree.ClassExpression

ImportAttribute

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

Properties

Name Type Optional Description
parent ` TSESTree.ExportAllDeclaration
TSESTree.ExportNamedDeclaration
TSESTree.ImportDeclaration
TSESTree.TSImportType`

ImportDefaultSpecifier

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

Properties

Name Type Optional Description
parent TSESTree.ImportDeclaration

ImportNamespaceSpecifier

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

Properties

Name Type Optional Description
parent TSESTree.ImportDeclaration

ImportSpecifier

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

Properties

Name Type Optional Description
parent ` TSESTree.ExportAllDeclaration
TSESTree.ExportNamedDeclaration
TSESTree.ImportDeclaration`

ExportDefaultDeclaration

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

Properties

Name Type Optional Description
parent TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock

ExportNamedDeclarationWithoutSourceWithMultiple

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

Properties

Name Type Optional Description
parent TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock

ExportNamedDeclarationWithoutSourceWithSingle

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

Properties

Name Type Optional Description
parent TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock

ExportNamedDeclarationWithSource

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

Properties

Name Type Optional Description
parent TSESTree.BlockStatement | TSESTree.Program | TSESTree.TSModuleBlock

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.ExportNamedDeclaration
TSESTree.Program`

FunctionDeclarationWithOptionalName

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

Properties

Name Type Optional Description
parent TSESTree.ExportDefaultDeclaration

JSXAttribute

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

Properties

Name Type Optional Description
parent TSESTree.JSXOpeningElement

JSXClosingElement

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

Properties

Name Type Optional Description
parent TSESTree.JSXElement

JSXClosingFragment

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

Properties

Name Type Optional Description
parent TSESTree.JSXFragment

JSXOpeningElement

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

Properties

Name Type Optional Description
parent TSESTree.JSXElement

JSXOpeningFragment

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

Properties

Name Type Optional Description
parent TSESTree.JSXFragment

JSXSpreadAttribute

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

Properties

Name Type Optional Description
parent TSESTree.JSXOpeningElement

MethodDefinitionComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

MethodDefinitionNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

TSAbstractMethodDefinitionComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

TSAbstractMethodDefinitionNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

PropertyComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ObjectExpression | TSESTree.ObjectPattern

PropertyNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ObjectExpression | TSESTree.ObjectPattern

PropertyDefinitionComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

PropertyDefinitionNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

TSAbstractPropertyDefinitionComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

TSAbstractPropertyDefinitionNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

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.NewExpression
TSESTree.ObjectExpression`

StaticBlock

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

Properties

Name Type Optional Description
parent TSESTree.ClassBody

SwitchCase

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

Properties

Name Type Optional Description
parent TSESTree.SwitchStatement

TemplateElement

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

Properties

Name Type Optional Description
parent TSESTree.TemplateLiteral | TSESTree.TSTemplateLiteralType

TSCallSignatureDeclaration

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral

TSConstructSignatureDeclaration

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral

TSClassImplements

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

Properties

Name Type Optional Description
parent TSESTree.ClassDeclaration | TSESTree.ClassExpression

TSEnumBody

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

Properties

Name Type Optional Description
parent TSESTree.TSEnumDeclaration

TSEnumMemberComputedName

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

Properties

Name Type Optional Description
parent TSESTree.TSEnumBody

TSEnumMemberNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.TSEnumBody

TSIndexSignature

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

Properties

Name Type Optional Description
parent ` TSESTree.ClassBody
TSESTree.TSInterfaceBody
TSESTree.TSTypeLiteral`

TSInterfaceBody

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceDeclaration

TSInterfaceHeritage

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody

TSMethodSignatureComputedName

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral

TSMethodSignatureNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral

TSModuleBlock

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

Properties

Name Type Optional Description
parent TSESTree.TSModuleDeclaration

TSParameterProperty

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

Properties

Name Type Optional Description
parent TSESTree.FunctionLike

TSPropertySignatureComputedName

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral

TSPropertySignatureNonComputedName

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

Properties

Name Type Optional Description
parent TSESTree.TSInterfaceBody | TSESTree.TSTypeLiteral

TSTypeParameter

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

Properties

Name Type Optional Description
parent ` TSESTree.TSInferType
TSESTree.TSMappedType
TSESTree.TSTypeParameterDeclaration`

ExportSpecifierWithIdentifierLocal

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

Properties

Name Type Optional Description
parent TSESTree.ExportNamedDeclaration

ExportSpecifierWithStringOrLiteralLocal

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

Properties

Name Type Optional Description
parent TSESTree.ExportNamedDeclaration