Skip to main content

AST Specification

The following auto-generated documentation describes the Abstract Syntax Tree (AST) generated by @typescript-eslint/typescript-estree for parsers such as @typescript-eslint/parser.

Enumerations

AST_NODE_TYPES

Defined in: ast-node-types.ts:1

Enumeration Members

Enumeration MemberValueDefined in
AccessorProperty"AccessorProperty"ast-node-types.ts:2
ArrayExpression"ArrayExpression"ast-node-types.ts:3
ArrayPattern"ArrayPattern"ast-node-types.ts:4
ArrowFunctionExpression"ArrowFunctionExpression"ast-node-types.ts:5
AssignmentExpression"AssignmentExpression"ast-node-types.ts:6
AssignmentPattern"AssignmentPattern"ast-node-types.ts:7
AwaitExpression"AwaitExpression"ast-node-types.ts:8
BinaryExpression"BinaryExpression"ast-node-types.ts:9
BlockStatement"BlockStatement"ast-node-types.ts:10
BreakStatement"BreakStatement"ast-node-types.ts:11
CallExpression"CallExpression"ast-node-types.ts:12
CatchClause"CatchClause"ast-node-types.ts:13
ChainExpression"ChainExpression"ast-node-types.ts:14
ClassBody"ClassBody"ast-node-types.ts:15
ClassDeclaration"ClassDeclaration"ast-node-types.ts:16
ClassExpression"ClassExpression"ast-node-types.ts:17
ConditionalExpression"ConditionalExpression"ast-node-types.ts:18
ContinueStatement"ContinueStatement"ast-node-types.ts:19
DebuggerStatement"DebuggerStatement"ast-node-types.ts:20
Decorator"Decorator"ast-node-types.ts:21
DoWhileStatement"DoWhileStatement"ast-node-types.ts:22
EmptyStatement"EmptyStatement"ast-node-types.ts:23
ExportAllDeclaration"ExportAllDeclaration"ast-node-types.ts:24
ExportDefaultDeclaration"ExportDefaultDeclaration"ast-node-types.ts:25
ExportNamedDeclaration"ExportNamedDeclaration"ast-node-types.ts:26
ExportSpecifier"ExportSpecifier"ast-node-types.ts:27
ExpressionStatement"ExpressionStatement"ast-node-types.ts:28
ForInStatement"ForInStatement"ast-node-types.ts:29
ForOfStatement"ForOfStatement"ast-node-types.ts:30
ForStatement"ForStatement"ast-node-types.ts:31
FunctionDeclaration"FunctionDeclaration"ast-node-types.ts:32
FunctionExpression"FunctionExpression"ast-node-types.ts:33
Identifier"Identifier"ast-node-types.ts:34
IfStatement"IfStatement"ast-node-types.ts:35
ImportAttribute"ImportAttribute"ast-node-types.ts:36
ImportDeclaration"ImportDeclaration"ast-node-types.ts:37
ImportDefaultSpecifier"ImportDefaultSpecifier"ast-node-types.ts:38
ImportExpression"ImportExpression"ast-node-types.ts:39
ImportNamespaceSpecifier"ImportNamespaceSpecifier"ast-node-types.ts:40
ImportSpecifier"ImportSpecifier"ast-node-types.ts:41
JSXAttribute"JSXAttribute"ast-node-types.ts:42
JSXClosingElement"JSXClosingElement"ast-node-types.ts:43
JSXClosingFragment"JSXClosingFragment"ast-node-types.ts:44
JSXElement"JSXElement"ast-node-types.ts:45
JSXEmptyExpression"JSXEmptyExpression"ast-node-types.ts:46
JSXExpressionContainer"JSXExpressionContainer"ast-node-types.ts:47
JSXFragment"JSXFragment"ast-node-types.ts:48
JSXIdentifier"JSXIdentifier"ast-node-types.ts:49
JSXMemberExpression"JSXMemberExpression"ast-node-types.ts:50
JSXNamespacedName"JSXNamespacedName"ast-node-types.ts:51
JSXOpeningElement"JSXOpeningElement"ast-node-types.ts:52
JSXOpeningFragment"JSXOpeningFragment"ast-node-types.ts:53
JSXSpreadAttribute"JSXSpreadAttribute"ast-node-types.ts:54
JSXSpreadChild"JSXSpreadChild"ast-node-types.ts:55
JSXText"JSXText"ast-node-types.ts:56
LabeledStatement"LabeledStatement"ast-node-types.ts:57
Literal"Literal"ast-node-types.ts:58
LogicalExpression"LogicalExpression"ast-node-types.ts:59
MemberExpression"MemberExpression"ast-node-types.ts:60
MetaProperty"MetaProperty"ast-node-types.ts:61
MethodDefinition"MethodDefinition"ast-node-types.ts:62
NewExpression"NewExpression"ast-node-types.ts:63
ObjectExpression"ObjectExpression"ast-node-types.ts:64
ObjectPattern"ObjectPattern"ast-node-types.ts:65
PrivateIdentifier"PrivateIdentifier"ast-node-types.ts:66
Program"Program"ast-node-types.ts:67
Property"Property"ast-node-types.ts:68
PropertyDefinition"PropertyDefinition"ast-node-types.ts:69
RestElement"RestElement"ast-node-types.ts:70
ReturnStatement"ReturnStatement"ast-node-types.ts:71
SequenceExpression"SequenceExpression"ast-node-types.ts:72
SpreadElement"SpreadElement"ast-node-types.ts:73
StaticBlock"StaticBlock"ast-node-types.ts:74
Super"Super"ast-node-types.ts:75
SwitchCase"SwitchCase"ast-node-types.ts:76
SwitchStatement"SwitchStatement"ast-node-types.ts:77
TaggedTemplateExpression"TaggedTemplateExpression"ast-node-types.ts:78
TemplateElement"TemplateElement"ast-node-types.ts:79
TemplateLiteral"TemplateLiteral"ast-node-types.ts:80
ThisExpression"ThisExpression"ast-node-types.ts:81
ThrowStatement"ThrowStatement"ast-node-types.ts:82
TryStatement"TryStatement"ast-node-types.ts:83
TSAbstractAccessorProperty"TSAbstractAccessorProperty"ast-node-types.ts:93
TSAbstractKeyword"TSAbstractKeyword"ast-node-types.ts:94
TSAbstractMethodDefinition"TSAbstractMethodDefinition"ast-node-types.ts:95
TSAbstractPropertyDefinition"TSAbstractPropertyDefinition"ast-node-types.ts:96
TSAnyKeyword"TSAnyKeyword"ast-node-types.ts:97
TSArrayType"TSArrayType"ast-node-types.ts:98
TSAsExpression"TSAsExpression"ast-node-types.ts:99
TSAsyncKeyword"TSAsyncKeyword"ast-node-types.ts:100
TSBigIntKeyword"TSBigIntKeyword"ast-node-types.ts:101
TSBooleanKeyword"TSBooleanKeyword"ast-node-types.ts:102
TSCallSignatureDeclaration"TSCallSignatureDeclaration"ast-node-types.ts:103
TSClassImplements"TSClassImplements"ast-node-types.ts:104
TSConditionalType"TSConditionalType"ast-node-types.ts:105
TSConstructorType"TSConstructorType"ast-node-types.ts:106
TSConstructSignatureDeclaration"TSConstructSignatureDeclaration"ast-node-types.ts:107
TSDeclareFunction"TSDeclareFunction"ast-node-types.ts:108
TSDeclareKeyword"TSDeclareKeyword"ast-node-types.ts:109
TSEmptyBodyFunctionExpression"TSEmptyBodyFunctionExpression"ast-node-types.ts:110
TSEnumBody"TSEnumBody"ast-node-types.ts:111
TSEnumDeclaration"TSEnumDeclaration"ast-node-types.ts:112
TSEnumMember"TSEnumMember"ast-node-types.ts:113
TSExportAssignment"TSExportAssignment"ast-node-types.ts:114
TSExportKeyword"TSExportKeyword"ast-node-types.ts:115
TSExternalModuleReference"TSExternalModuleReference"ast-node-types.ts:116
TSFunctionType"TSFunctionType"ast-node-types.ts:117
TSImportEqualsDeclaration"TSImportEqualsDeclaration"ast-node-types.ts:118
TSImportType"TSImportType"ast-node-types.ts:119
TSIndexedAccessType"TSIndexedAccessType"ast-node-types.ts:120
TSIndexSignature"TSIndexSignature"ast-node-types.ts:121
TSInferType"TSInferType"ast-node-types.ts:122
TSInstantiationExpression"TSInstantiationExpression"ast-node-types.ts:123
TSInterfaceBody"TSInterfaceBody"ast-node-types.ts:124
TSInterfaceDeclaration"TSInterfaceDeclaration"ast-node-types.ts:125
TSInterfaceHeritage"TSInterfaceHeritage"ast-node-types.ts:126
TSIntersectionType"TSIntersectionType"ast-node-types.ts:127
TSIntrinsicKeyword"TSIntrinsicKeyword"ast-node-types.ts:128
TSLiteralType"TSLiteralType"ast-node-types.ts:129
TSMappedType"TSMappedType"ast-node-types.ts:130
TSMethodSignature"TSMethodSignature"ast-node-types.ts:131
TSModuleBlock"TSModuleBlock"ast-node-types.ts:132
TSModuleDeclaration"TSModuleDeclaration"ast-node-types.ts:133
TSNamedTupleMember"TSNamedTupleMember"ast-node-types.ts:134
TSNamespaceExportDeclaration"TSNamespaceExportDeclaration"ast-node-types.ts:135
TSNeverKeyword"TSNeverKeyword"ast-node-types.ts:136
TSNonNullExpression"TSNonNullExpression"ast-node-types.ts:137
TSNullKeyword"TSNullKeyword"ast-node-types.ts:138
TSNumberKeyword"TSNumberKeyword"ast-node-types.ts:139
TSObjectKeyword"TSObjectKeyword"ast-node-types.ts:140
TSOptionalType"TSOptionalType"ast-node-types.ts:141
TSParameterProperty"TSParameterProperty"ast-node-types.ts:142
TSPrivateKeyword"TSPrivateKeyword"ast-node-types.ts:143
TSPropertySignature"TSPropertySignature"ast-node-types.ts:144
TSProtectedKeyword"TSProtectedKeyword"ast-node-types.ts:145
TSPublicKeyword"TSPublicKeyword"ast-node-types.ts:146
TSQualifiedName"TSQualifiedName"ast-node-types.ts:147
TSReadonlyKeyword"TSReadonlyKeyword"ast-node-types.ts:148
TSRestType"TSRestType"ast-node-types.ts:149
TSSatisfiesExpression"TSSatisfiesExpression"ast-node-types.ts:150
TSStaticKeyword"TSStaticKeyword"ast-node-types.ts:151
TSStringKeyword"TSStringKeyword"ast-node-types.ts:152
TSSymbolKeyword"TSSymbolKeyword"ast-node-types.ts:153
TSTemplateLiteralType"TSTemplateLiteralType"ast-node-types.ts:154
TSThisType"TSThisType"ast-node-types.ts:155
TSTupleType"TSTupleType"ast-node-types.ts:156
TSTypeAliasDeclaration"TSTypeAliasDeclaration"ast-node-types.ts:157
TSTypeAnnotation"TSTypeAnnotation"ast-node-types.ts:158
TSTypeAssertion"TSTypeAssertion"ast-node-types.ts:159
TSTypeLiteral"TSTypeLiteral"ast-node-types.ts:160
TSTypeOperator"TSTypeOperator"ast-node-types.ts:161
TSTypeParameter"TSTypeParameter"ast-node-types.ts:162
TSTypeParameterDeclaration"TSTypeParameterDeclaration"ast-node-types.ts:163
TSTypeParameterInstantiation"TSTypeParameterInstantiation"ast-node-types.ts:164
TSTypePredicate"TSTypePredicate"ast-node-types.ts:165
TSTypeQuery"TSTypeQuery"ast-node-types.ts:166
TSTypeReference"TSTypeReference"ast-node-types.ts:167
TSUndefinedKeyword"TSUndefinedKeyword"ast-node-types.ts:168
TSUnionType"TSUnionType"ast-node-types.ts:169
TSUnknownKeyword"TSUnknownKeyword"ast-node-types.ts:170
TSVoidKeyword"TSVoidKeyword"ast-node-types.ts:171
UnaryExpression"UnaryExpression"ast-node-types.ts:84
UpdateExpression"UpdateExpression"ast-node-types.ts:85
VariableDeclaration"VariableDeclaration"ast-node-types.ts:86
VariableDeclarator"VariableDeclarator"ast-node-types.ts:87
WhileStatement"WhileStatement"ast-node-types.ts:88
WithStatement"WithStatement"ast-node-types.ts:89
YieldExpression"YieldExpression"ast-node-types.ts:90

AST_TOKEN_TYPES

Defined in: ast-token-types.ts:1

Enumeration Members

Enumeration MemberValueDefined in
Block"Block"ast-token-types.ts:15
Boolean"Boolean"ast-token-types.ts:2
Identifier"Identifier"ast-token-types.ts:3
JSXIdentifier"JSXIdentifier"ast-token-types.ts:4
JSXText"JSXText"ast-token-types.ts:5
Keyword"Keyword"ast-token-types.ts:6
Line"Line"ast-token-types.ts:16
Null"Null"ast-token-types.ts:7
Numeric"Numeric"ast-token-types.ts:8
Punctuator"Punctuator"ast-token-types.ts:9
RegularExpression"RegularExpression"ast-token-types.ts:10
String"String"ast-token-types.ts:11
Template"Template"ast-token-types.ts:12

Interfaces

AccessorPropertyComputedName

Defined in: element/AccessorProperty/spec.ts:7

Extends

  • PropertyDefinitionComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedtrue--PropertyDefinitionComputedNameBase.computedbase/PropertyDefinitionBase.ts:30
declareboolean--PropertyDefinitionComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyExpression--PropertyDefinitionComputedNameBase.keybase/PropertyDefinitionBase.ts:31
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typeAccessorProperty-PropertyDefinitionComputedNameBase.type-element/AccessorProperty/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull | Expression--PropertyDefinitionComputedNameBase.valuebase/PropertyDefinitionBase.ts:25

AccessorPropertyNonComputedName

Defined in: element/AccessorProperty/spec.ts:12

Extends

  • PropertyDefinitionNonComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionNonComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedfalse--PropertyDefinitionNonComputedNameBase.computedbase/PropertyDefinitionBase.ts:36
declareboolean--PropertyDefinitionNonComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionNonComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionNonComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyPropertyNameNonComputed--PropertyDefinitionNonComputedNameBase.keybase/PropertyDefinitionBase.ts:37
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionNonComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionNonComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionNonComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionNonComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionNonComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionNonComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typeAccessorProperty-PropertyDefinitionNonComputedNameBase.type-element/AccessorProperty/spec.ts:14
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionNonComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull | Expression--PropertyDefinitionNonComputedNameBase.valuebase/PropertyDefinitionBase.ts:25

ArrayExpression

Defined in: expression/ArrayExpression/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
elements( | null | Expression | SpreadElement)[]an element will be null in the case of a sparse array: [1, ,3]--expression/ArrayExpression/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeArrayExpression-BaseNode.type-expression/ArrayExpression/spec.ts:7

ArrayPattern

Defined in: parameter/ArrayPattern/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
decoratorsDecorator[]---parameter/ArrayPattern/spec.ts:9
elements(null | DestructuringPattern)[]---parameter/ArrayPattern/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionalboolean---parameter/ArrayPattern/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeArrayPattern-BaseNode.type-parameter/ArrayPattern/spec.ts:8
typeAnnotationundefined | TSTypeAnnotation---parameter/ArrayPattern/spec.ts:12

ArrowFunctionExpression

Defined in: expression/ArrowFunctionExpression/spec.ts:9

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncboolean---expression/ArrowFunctionExpression/spec.ts:11
body| Expression | BlockStatement---expression/ArrowFunctionExpression/spec.ts:12
expressionboolean---expression/ArrowFunctionExpression/spec.ts:13
generatorboolean---expression/ArrowFunctionExpression/spec.ts:14
idnull---expression/ArrowFunctionExpression/spec.ts:15
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
paramsParameter[]---expression/ArrowFunctionExpression/spec.ts:16
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotation---expression/ArrowFunctionExpression/spec.ts:17
typeArrowFunctionExpression-BaseNode.type-expression/ArrowFunctionExpression/spec.ts:10
typeParameters| undefined | TSTypeParameterDeclaration---expression/ArrowFunctionExpression/spec.ts:18

AssignmentExpression

Defined in: expression/AssignmentExpression/spec.ts:9

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
leftExpression---expression/AssignmentExpression/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
operatorValueOf<AssignmentOperatorToText>---expression/AssignmentExpression/spec.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightExpression---expression/AssignmentExpression/spec.ts:13
typeAssignmentExpression-BaseNode.type-expression/AssignmentExpression/spec.ts:10

AssignmentOperatorToText

Defined in: expression/AssignmentExpression/AssignmentOperatorToText.ts:3

Extended by

Properties

PropertyTypeDefined in
64"="expression/AssignmentExpression/AssignmentOperatorToText.ts:11
65"+="expression/AssignmentExpression/AssignmentOperatorToText.ts:17
66"-="expression/AssignmentExpression/AssignmentOperatorToText.ts:15
67"*="expression/AssignmentExpression/AssignmentOperatorToText.ts:7
68"**="expression/AssignmentExpression/AssignmentOperatorToText.ts:6
69"/="expression/AssignmentExpression/AssignmentOperatorToText.ts:19
70"%="expression/AssignmentExpression/AssignmentOperatorToText.ts:16
71"<<="expression/AssignmentExpression/AssignmentOperatorToText.ts:14
72">>="expression/AssignmentExpression/AssignmentOperatorToText.ts:12
73">>>="expression/AssignmentExpression/AssignmentOperatorToText.ts:13
74"&="expression/AssignmentExpression/AssignmentOperatorToText.ts:5
75"|="expression/AssignmentExpression/AssignmentOperatorToText.ts:9
76"||="expression/AssignmentExpression/AssignmentOperatorToText.ts:8
77"&&="expression/AssignmentExpression/AssignmentOperatorToText.ts:4
78"??="expression/AssignmentExpression/AssignmentOperatorToText.ts:18
79"^="expression/AssignmentExpression/AssignmentOperatorToText.ts:10

AssignmentPattern

Defined in: parameter/AssignmentPattern/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
decoratorsDecorator[]---parameter/AssignmentPattern/spec.ts:10
leftBindingName---parameter/AssignmentPattern/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionalboolean---parameter/AssignmentPattern/spec.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightExpression---parameter/AssignmentPattern/spec.ts:13
typeAssignmentPattern-BaseNode.type-parameter/AssignmentPattern/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation---parameter/AssignmentPattern/spec.ts:14

AwaitExpression

Defined in: expression/AwaitExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentExpression---expression/AwaitExpression/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeAwaitExpression-BaseNode.type-expression/AwaitExpression/spec.ts:6

BaseNode

Defined in: base/BaseNode.ts:5

Extends

Extended by

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-NodeOrTokenData.locbase/NodeOrTokenData.ts:12
rangeRange--NodeOrTokenData.rangebase/NodeOrTokenData.ts:14
typeAST_NODE_TYPES-NodeOrTokenData.type-base/BaseNode.ts:6

BigIntLiteral

Defined in: expression/literal/BigIntLiteral/spec.ts:3

Extends

  • LiteralBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bigintstring---expression/literal/BigIntLiteral/spec.ts:4
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LiteralBase.locbase/NodeOrTokenData.ts:12
rangeRange--LiteralBase.rangebase/NodeOrTokenData.ts:14
rawstring--LiteralBase.rawbase/LiteralBase.ts:6
typeLiteral--LiteralBase.typebase/LiteralBase.ts:5
valuenull | bigint-LiteralBase.value-expression/literal/BigIntLiteral/spec.ts:5

BinaryExpression

Defined in: expression/BinaryExpression/spec.ts:10

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
left| PrivateIdentifier | Expression---expression/BinaryExpression/spec.ts:12
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
operatorValueOf<BinaryOperatorToText>---expression/BinaryExpression/spec.ts:13
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightExpression---expression/BinaryExpression/spec.ts:14
typeBinaryExpression-BaseNode.type-expression/BinaryExpression/spec.ts:11

BinaryOperatorToText

Defined in: expression/BinaryExpression/BinaryOperatorToText.ts:4

Properties

PropertyTypeDefined in
103"in"expression/BinaryExpression/BinaryOperatorToText.ts:26
104"instanceof"expression/BinaryExpression/BinaryOperatorToText.ts:27
30"<"expression/BinaryExpression/BinaryOperatorToText.ts:30
32">"expression/BinaryExpression/BinaryOperatorToText.ts:25
33"<="expression/BinaryExpression/BinaryOperatorToText.ts:28
34">="expression/BinaryExpression/BinaryOperatorToText.ts:21
35"=="expression/BinaryExpression/BinaryOperatorToText.ts:18
36"!="expression/BinaryExpression/BinaryOperatorToText.ts:20
37"==="expression/BinaryExpression/BinaryOperatorToText.ts:16
38"!=="expression/BinaryExpression/BinaryOperatorToText.ts:19
40"+"expression/BinaryExpression/BinaryOperatorToText.ts:33
41"-"expression/BinaryExpression/BinaryOperatorToText.ts:31
42"*"expression/BinaryExpression/BinaryOperatorToText.ts:12
43"**"expression/BinaryExpression/BinaryOperatorToText.ts:11
44"/"expression/BinaryExpression/BinaryOperatorToText.ts:34
45"%"expression/BinaryExpression/BinaryOperatorToText.ts:32
48"<<"expression/BinaryExpression/BinaryOperatorToText.ts:29
49">>"expression/BinaryExpression/BinaryOperatorToText.ts:23
50">>>"expression/BinaryExpression/BinaryOperatorToText.ts:22
51"&"expression/BinaryExpression/BinaryOperatorToText.ts:8
52"|"expression/BinaryExpression/BinaryOperatorToText.ts:14
53"^"expression/BinaryExpression/BinaryOperatorToText.ts:15
56"&&"expression/BinaryExpression/BinaryOperatorToText.ts:6
57"||"expression/BinaryExpression/BinaryOperatorToText.ts:13

BlockComment

Defined in: token/BlockComment/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeBlock-BaseToken.type-token/BlockComment/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

BlockStatement

Defined in: statement/BlockStatement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement[]---statement/BlockStatement/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeBlockStatement-BaseNode.type-statement/BlockStatement/spec.ts:6

BooleanLiteral

Defined in: expression/literal/BooleanLiteral/spec.ts:3

Extends

  • LiteralBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LiteralBase.locbase/NodeOrTokenData.ts:12
rangeRange--LiteralBase.rangebase/NodeOrTokenData.ts:14
raw"false" | "true"-LiteralBase.raw-expression/literal/BooleanLiteral/spec.ts:4
typeLiteral--LiteralBase.typebase/LiteralBase.ts:5
valueboolean-LiteralBase.value-expression/literal/BooleanLiteral/spec.ts:5

BooleanToken

Defined in: token/BooleanToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeBoolean-BaseToken.type-token/BooleanToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

BreakStatement

Defined in: statement/BreakStatement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
labelnull | Identifier---statement/BreakStatement/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeBreakStatement-BaseNode.type-statement/BreakStatement/spec.ts:6

CallExpression

Defined in: expression/CallExpression/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentsCallExpressionArgument[]---expression/CallExpression/spec.ts:9
calleeExpression---expression/CallExpression/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionalboolean---expression/CallExpression/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeCallExpression-BaseNode.type-expression/CallExpression/spec.ts:8
typeArguments| undefined | TSTypeParameterInstantiation---expression/CallExpression/spec.ts:12

CatchClause

Defined in: special/CatchClause/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyBlockStatement---special/CatchClause/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
paramnull | BindingName---special/CatchClause/spec.ts:9
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeCatchClause-BaseNode.type-special/CatchClause/spec.ts:7

ChainExpression

Defined in: expression/ChainExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionChainElement---expression/ChainExpression/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeChainExpression-BaseNode.type-expression/ChainExpression/spec.ts:6

ClassBody

Defined in: special/ClassBody/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyClassElement[]---special/ClassBody/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeClassBody-BaseNode.type-special/ClassBody/spec.ts:6

ClassDeclarationWithName

Defined in: declaration/ClassDeclaration/spec.ts:15

A normal class declaration:

class A {}

Extends

  • ClassDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
abstractbooleanWhether the class is an abstract class. Example abstract class Foo {}-ClassDeclarationBase.abstractbase/ClassBase.ts:18
bodyClassBodyThe class body.-ClassDeclarationBase.bodybase/ClassBase.ts:22
declarebooleanWhether the class has been declared: Example declare class Foo {}-ClassDeclarationBase.declarebase/ClassBase.ts:30
decoratorsDecorator[]The decorators declared for the class. Example @deco class Foo {}-ClassDeclarationBase.decoratorsbase/ClassBase.ts:39
idIdentifierThe class's name. - For a ClassExpression this may be null if the name is omitted. - For a ClassDeclaration this may be null if and only if the parent is an ExportDefaultDeclaration.ClassDeclarationBase.id-declaration/ClassDeclaration/spec.ts:16
implementsTSClassImplements[]The implemented interfaces for the class.-ClassDeclarationBase.implementsbase/ClassBase.ts:50
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ClassDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--ClassDeclarationBase.rangebase/NodeOrTokenData.ts:14
superClassnull | LeftHandSideExpressionThe super class this class extends.-ClassDeclarationBase.superClassbase/ClassBase.ts:54
superTypeArguments| undefined | TSTypeParameterInstantiationThe generic type parameters passed to the superClass.-ClassDeclarationBase.superTypeArgumentsbase/ClassBase.ts:58
typeClassDeclaration--ClassDeclarationBase.typedeclaration/ClassDeclaration/spec.ts:6
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameters declared for the class.-ClassDeclarationBase.typeParametersbase/ClassBase.ts:62

ClassDeclarationWithOptionalName

Defined in: declaration/ClassDeclaration/spec.ts:25

Default-exported class declarations have optional names:

export default class {}

Extends

  • ClassDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
abstractbooleanWhether the class is an abstract class. Example abstract class Foo {}-ClassDeclarationBase.abstractbase/ClassBase.ts:18
bodyClassBodyThe class body.-ClassDeclarationBase.bodybase/ClassBase.ts:22
declarebooleanWhether the class has been declared: Example declare class Foo {}-ClassDeclarationBase.declarebase/ClassBase.ts:30
decoratorsDecorator[]The decorators declared for the class. Example @deco class Foo {}-ClassDeclarationBase.decoratorsbase/ClassBase.ts:39
idnull | IdentifierThe class's name. - For a ClassExpression this may be null if the name is omitted. - For a ClassDeclaration this may be null if and only if the parent is an ExportDefaultDeclaration.ClassDeclarationBase.id-declaration/ClassDeclaration/spec.ts:26
implementsTSClassImplements[]The implemented interfaces for the class.-ClassDeclarationBase.implementsbase/ClassBase.ts:50
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ClassDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--ClassDeclarationBase.rangebase/NodeOrTokenData.ts:14
superClassnull | LeftHandSideExpressionThe super class this class extends.-ClassDeclarationBase.superClassbase/ClassBase.ts:54
superTypeArguments| undefined | TSTypeParameterInstantiationThe generic type parameters passed to the superClass.-ClassDeclarationBase.superTypeArgumentsbase/ClassBase.ts:58
typeClassDeclaration--ClassDeclarationBase.typedeclaration/ClassDeclaration/spec.ts:6
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameters declared for the class.-ClassDeclarationBase.typeParametersbase/ClassBase.ts:62

ClassExpression

Defined in: expression/ClassExpression/spec.ts:4

Extends

  • ClassBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
abstractfalseWhether the class is an abstract class. Example abstract class Foo {}ClassBase.abstract-expression/ClassExpression/spec.ts:6
bodyClassBodyThe class body.-ClassBase.bodybase/ClassBase.ts:22
declarefalseWhether the class has been declared: Example declare class Foo {}ClassBase.declare-expression/ClassExpression/spec.ts:7
decoratorsDecorator[]The decorators declared for the class. Example @deco class Foo {}-ClassBase.decoratorsbase/ClassBase.ts:39
idnull | IdentifierThe class's name. - For a ClassExpression this may be null if the name is omitted. - For a ClassDeclaration this may be null if and only if the parent is an ExportDefaultDeclaration.-ClassBase.idbase/ClassBase.ts:46
implementsTSClassImplements[]The implemented interfaces for the class.-ClassBase.implementsbase/ClassBase.ts:50
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ClassBase.locbase/NodeOrTokenData.ts:12
rangeRange--ClassBase.rangebase/NodeOrTokenData.ts:14
superClassnull | LeftHandSideExpressionThe super class this class extends.-ClassBase.superClassbase/ClassBase.ts:54
superTypeArguments| undefined | TSTypeParameterInstantiationThe generic type parameters passed to the superClass.-ClassBase.superTypeArgumentsbase/ClassBase.ts:58
typeClassExpression-ClassBase.type-expression/ClassExpression/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameters declared for the class.-ClassBase.typeParametersbase/ClassBase.ts:62

ConditionalExpression

Defined in: expression/ConditionalExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
alternateExpression---expression/ConditionalExpression/spec.ts:7
consequentExpression---expression/ConditionalExpression/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
testExpression---expression/ConditionalExpression/spec.ts:9
typeConditionalExpression-BaseNode.type-expression/ConditionalExpression/spec.ts:6

ConstDeclaration

Defined in: declaration/VariableDeclaration/spec.ts:75

Extends

  • LetOrConstOrVarDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
declarationsVariableDeclaratorMaybeInit[]In a declare const declaration, the declarators may have initializers, but not definite assignment assertions. Each declarator cannot have both an initializer and a type annotation. Even if the declaration has no declare, it may still be ambient and have no initializer.LetOrConstOrVarDeclarationBase.declarations-declaration/VariableDeclaration/spec.ts:84
declarebooleanWhether the declaration is declared Example declare const x = 1;-LetOrConstOrVarDeclarationBase.declaredeclaration/VariableDeclaration/spec.ts:31
kind"const"The keyword used to declare the variable(s) Example const x = 1; let y = 2; var z = 3;LetOrConstOrVarDeclarationBase.kind-declaration/VariableDeclaration/spec.ts:85
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LetOrConstOrVarDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--LetOrConstOrVarDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclaration--LetOrConstOrVarDeclarationBase.typedeclaration/VariableDeclaration/spec.ts:13

ContinueStatement

Defined in: statement/ContinueStatement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
labelnull | Identifier---statement/ContinueStatement/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeContinueStatement-BaseNode.type-statement/ContinueStatement/spec.ts:6

DebuggerStatement

Defined in: statement/DebuggerStatement/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeDebuggerStatement-BaseNode.type-statement/DebuggerStatement/spec.ts:5

Decorator

Defined in: special/Decorator/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionLeftHandSideExpression---special/Decorator/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeDecorator-BaseNode.type-special/Decorator/spec.ts:6

DoWhileStatement

Defined in: statement/DoWhileStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement---statement/DoWhileStatement/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
testExpression---statement/DoWhileStatement/spec.ts:9
typeDoWhileStatement-BaseNode.type-statement/DoWhileStatement/spec.ts:7

EmptyStatement

Defined in: special/EmptyStatement/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeEmptyStatement-BaseNode.type-special/EmptyStatement/spec.ts:5

ExportAllDeclaration

Defined in: declaration/ExportAllDeclaration/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
assertionsImportAttribute[]The assertions declared for the export. Example export * from 'mod' assert \{ type: 'json' \}; Deprecated Replaced with `attributes`.--declaration/ExportAllDeclaration/spec.ts:18
attributesImportAttribute[]The attributes declared for the export. Example export * from 'mod' with \{ type: 'json' \};--declaration/ExportAllDeclaration/spec.ts:26
exportednull | IdentifierThe name for the exported items (as X). null if no name is assigned.--declaration/ExportAllDeclaration/spec.ts:30
exportKindExportAndImportKindThe kind of the export.--declaration/ExportAllDeclaration/spec.ts:34
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
sourceStringLiteralThe source module being exported from.--declaration/ExportAllDeclaration/spec.ts:38
typeExportAllDeclaration-BaseNode.type-declaration/ExportAllDeclaration/spec.ts:9

ExportDefaultDeclaration

Defined in: declaration/ExportDefaultDeclaration/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
declarationDefaultExportDeclarationsThe declaration being exported.--declaration/ExportDefaultDeclaration/spec.ts:10
exportKind"value"The kind of the export. Always value for default exports.--declaration/ExportDefaultDeclaration/spec.ts:14
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeExportDefaultDeclaration-BaseNode.type-declaration/ExportDefaultDeclaration/spec.ts:6

ExportNamedDeclarationWithoutSourceWithMultiple

Defined in: declaration/ExportNamedDeclaration/spec.ts:68

Exporting names from the current module.

export {};
export { a, b };

Extends

  • ExportNamedDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
assertionsImportAttribute[]This will always be an empty array. Deprecated Replaced with `attributes`.ExportNamedDeclarationBase.assertions-declaration/ExportNamedDeclaration/spec.ts:74
attributesImportAttribute[]This will always be an empty array.ExportNamedDeclarationBase.attributes-declaration/ExportNamedDeclaration/spec.ts:78
declarationnullThe exported declaration. Example export const x = 1; This will be null if source is not null, or if there are specifiersExportNamedDeclarationBase.declaration-declaration/ExportNamedDeclaration/spec.ts:79
exportKindExportAndImportKindThe kind of the export.-ExportNamedDeclarationBase.exportKinddeclaration/ExportNamedDeclaration/spec.ts:45
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ExportNamedDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--ExportNamedDeclarationBase.rangebase/NodeOrTokenData.ts:14
sourcenullThe source module being exported from.ExportNamedDeclarationBase.source-declaration/ExportNamedDeclaration/spec.ts:80
specifiersExportSpecifierWithIdentifierLocal[]The specifiers being exported. Example export { a, b }; This will be an empty array if declaration is not nullExportNamedDeclarationBase.specifiers-declaration/ExportNamedDeclaration/spec.ts:82
typeExportNamedDeclaration--ExportNamedDeclarationBase.typedeclaration/ExportNamedDeclaration/spec.ts:13

ExportNamedDeclarationWithoutSourceWithSingle

Defined in: declaration/ExportNamedDeclaration/spec.ts:91

Exporting a single named declaration.

export const x = 1;

Extends

  • ExportNamedDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
assertionsImportAttribute[]This will always be an empty array. Deprecated Replaced with `attributes`.ExportNamedDeclarationBase.assertions-declaration/ExportNamedDeclaration/spec.ts:97
attributesImportAttribute[]This will always be an empty array.ExportNamedDeclarationBase.attributes-declaration/ExportNamedDeclaration/spec.ts:101
declarationNamedExportDeclarationsThe exported declaration. Example export const x = 1; This will be null if source is not null, or if there are specifiersExportNamedDeclarationBase.declaration-declaration/ExportNamedDeclaration/spec.ts:102
exportKindExportAndImportKindThe kind of the export.-ExportNamedDeclarationBase.exportKinddeclaration/ExportNamedDeclaration/spec.ts:45
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ExportNamedDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--ExportNamedDeclarationBase.rangebase/NodeOrTokenData.ts:14
sourcenullThe source module being exported from.ExportNamedDeclarationBase.source-declaration/ExportNamedDeclaration/spec.ts:103
specifiersExportSpecifierWithIdentifierLocal[]This will always be an empty array.ExportNamedDeclarationBase.specifiers-declaration/ExportNamedDeclaration/spec.ts:107
typeExportNamedDeclaration--ExportNamedDeclarationBase.typedeclaration/ExportNamedDeclaration/spec.ts:13

ExportNamedDeclarationWithSource

Defined in: declaration/ExportNamedDeclaration/spec.ts:116

Export names from another module.

export { a, b } from 'mod';

Extends

  • ExportNamedDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
assertionsImportAttribute[]The assertions declared for the export. Example export { foo } from 'mod' assert \{ type: 'json' \}; This will be an empty array if source is null Deprecated Replaced with `attributes`.-ExportNamedDeclarationBase.assertionsdeclaration/ExportNamedDeclaration/spec.ts:23
attributesImportAttribute[]The attributes declared for the export. Example export { foo } from 'mod' with \{ type: 'json' \}; This will be an empty array if source is null-ExportNamedDeclarationBase.attributesdeclaration/ExportNamedDeclaration/spec.ts:32
declarationnullThe exported declaration. Example export const x = 1; This will be null if source is not null, or if there are specifiersExportNamedDeclarationBase.declaration-declaration/ExportNamedDeclaration/spec.ts:118
exportKindExportAndImportKindThe kind of the export.-ExportNamedDeclarationBase.exportKinddeclaration/ExportNamedDeclaration/spec.ts:45
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ExportNamedDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--ExportNamedDeclarationBase.rangebase/NodeOrTokenData.ts:14
sourceStringLiteralThe source module being exported from.ExportNamedDeclarationBase.source-declaration/ExportNamedDeclaration/spec.ts:119
specifiersExportSpecifier[]The specifiers being exported. Example export { a, b }; This will be an empty array if declaration is not null-ExportNamedDeclarationBase.specifiersdeclaration/ExportNamedDeclaration/spec.ts:58
typeExportNamedDeclaration--ExportNamedDeclarationBase.typedeclaration/ExportNamedDeclaration/spec.ts:13

ExportSpecifierWithIdentifierLocal

Defined in: special/ExportSpecifier/spec.ts:14

Extends

  • ExportSpecifierBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
exported| Identifier | StringLiteral--ExportSpecifierBase.exportedspecial/ExportSpecifier/spec.ts:9
exportKindExportAndImportKind--ExportSpecifierBase.exportKindspecial/ExportSpecifier/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ExportSpecifierBase.locbase/NodeOrTokenData.ts:12
localIdentifier-ExportSpecifierBase.local-special/ExportSpecifier/spec.ts:16
rangeRange--ExportSpecifierBase.rangebase/NodeOrTokenData.ts:14
typeExportSpecifier--ExportSpecifierBase.typespecial/ExportSpecifier/spec.ts:8

ExportSpecifierWithStringOrLiteralLocal

Defined in: special/ExportSpecifier/spec.ts:19

Extends

  • ExportSpecifierBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
exported| Identifier | StringLiteral--ExportSpecifierBase.exportedspecial/ExportSpecifier/spec.ts:9
exportKindExportAndImportKind--ExportSpecifierBase.exportKindspecial/ExportSpecifier/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ExportSpecifierBase.locbase/NodeOrTokenData.ts:12
local| Identifier | StringLiteral-ExportSpecifierBase.local-special/ExportSpecifier/spec.ts:21
rangeRange--ExportSpecifierBase.rangebase/NodeOrTokenData.ts:14
typeExportSpecifier--ExportSpecifierBase.typespecial/ExportSpecifier/spec.ts:8

ExpressionStatement

Defined in: statement/ExpressionStatement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
directiveundefined | string---statement/ExpressionStatement/spec.ts:7
expressionExpression---statement/ExpressionStatement/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeExpressionStatement-BaseNode.type-statement/ExpressionStatement/spec.ts:6

ForInStatement

Defined in: statement/ForInStatement/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement---statement/ForInStatement/spec.ts:9
leftForInitialiser---statement/ForInStatement/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightExpression---statement/ForInStatement/spec.ts:11
typeForInStatement-BaseNode.type-statement/ForInStatement/spec.ts:8

ForOfStatement

Defined in: statement/ForOfStatement/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
awaitboolean---statement/ForOfStatement/spec.ts:9
bodyStatement---statement/ForOfStatement/spec.ts:10
leftForOfInitialiser---statement/ForOfStatement/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightExpression---statement/ForOfStatement/spec.ts:12
typeForOfStatement-BaseNode.type-statement/ForOfStatement/spec.ts:8

ForStatement

Defined in: statement/ForStatement/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement---statement/ForStatement/spec.ts:9
init| null | Identifier | ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | CallExpression | ChainExpression | ClassExpression | ConditionalExpression | FunctionExpression | ImportExpression | JSXElement | JSXFragment | BigIntLiteral | BooleanLiteral | NullLiteral | NumberLiteral | RegExpLiteral | StringLiteral | TemplateLiteral | LogicalExpression | MemberExpressionComputedName | MemberExpressionNonComputedName | MetaProperty | NewExpression | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | ThisExpression | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | UnaryExpression | UpdateExpression | YieldExpression | ConstDeclaration | LetOrVarDeclaredDeclaration | LetOrVarNonDeclaredDeclaration---statement/ForStatement/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
testnull | Expression---statement/ForStatement/spec.ts:11
typeForStatement-BaseNode.type-statement/ForStatement/spec.ts:8
updatenull | Expression---statement/ForStatement/spec.ts:12

FunctionDeclarationWithName

Defined in: declaration/FunctionDeclaration/spec.ts:19

A normal function declaration:

function f() {}

Extends

  • FunctionDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncbooleanWhether the function is async: async function foo() {} const x = async function () {} const x = async () => {}-FunctionDeclarationBase.asyncbase/FunctionBase.ts:18
bodyBlockStatementThe body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null.-FunctionDeclarationBase.bodydeclaration/FunctionDeclaration/spec.ts:8
declarefalseThis is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {}-FunctionDeclarationBase.declaredeclaration/FunctionDeclaration/spec.ts:9
expressionfalseThis is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1)-FunctionDeclarationBase.expressiondeclaration/FunctionDeclaration/spec.ts:10
generatorbooleanWhether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators.-FunctionDeclarationBase.generatorbase/FunctionBase.ts:50
idIdentifierThe function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration.FunctionDeclarationBase.id-declaration/FunctionDeclaration/spec.ts:20
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-FunctionDeclarationBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]The list of parameters declared for the function.-FunctionDeclarationBase.paramsbase/FunctionBase.ts:62
rangeRange--FunctionDeclarationBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotationThe return type annotation for the function.-FunctionDeclarationBase.returnTypebase/FunctionBase.ts:66
typeFunctionDeclaration--FunctionDeclarationBase.typedeclaration/FunctionDeclaration/spec.ts:7
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameter declaration for the function.-FunctionDeclarationBase.typeParametersbase/FunctionBase.ts:70

FunctionDeclarationWithOptionalName

Defined in: declaration/FunctionDeclaration/spec.ts:29

Default-exported function declarations have optional names:

export default function () {}

Extends

  • FunctionDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncbooleanWhether the function is async: async function foo() {} const x = async function () {} const x = async () => {}-FunctionDeclarationBase.asyncbase/FunctionBase.ts:18
bodyBlockStatementThe body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null.-FunctionDeclarationBase.bodydeclaration/FunctionDeclaration/spec.ts:8
declarefalseThis is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {}-FunctionDeclarationBase.declaredeclaration/FunctionDeclaration/spec.ts:9
expressionfalseThis is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1)-FunctionDeclarationBase.expressiondeclaration/FunctionDeclaration/spec.ts:10
generatorbooleanWhether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators.-FunctionDeclarationBase.generatorbase/FunctionBase.ts:50
idnull | IdentifierThe function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration.FunctionDeclarationBase.id-declaration/FunctionDeclaration/spec.ts:31
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-FunctionDeclarationBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]The list of parameters declared for the function.-FunctionDeclarationBase.paramsbase/FunctionBase.ts:62
rangeRange--FunctionDeclarationBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotationThe return type annotation for the function.-FunctionDeclarationBase.returnTypebase/FunctionBase.ts:66
typeFunctionDeclaration--FunctionDeclarationBase.typedeclaration/FunctionDeclaration/spec.ts:7
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameter declaration for the function.-FunctionDeclarationBase.typeParametersbase/FunctionBase.ts:70

FunctionExpression

Defined in: expression/FunctionExpression/spec.ts:5

Extends

  • FunctionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncbooleanWhether the function is async: async function foo() {} const x = async function () {} const x = async () => {}-FunctionBase.asyncbase/FunctionBase.ts:18
bodyBlockStatementThe body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null.FunctionBase.body-expression/FunctionExpression/spec.ts:7
declarebooleanThis is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {}-FunctionBase.declarebase/FunctionBase.ts:33
expressionfalseThis is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1)FunctionBase.expression-expression/FunctionExpression/spec.ts:8
generatorbooleanWhether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators.-FunctionBase.generatorbase/FunctionBase.ts:50
idnull | IdentifierThe function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration.-FunctionBase.idbase/FunctionBase.ts:58
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-FunctionBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]The list of parameters declared for the function.-FunctionBase.paramsbase/FunctionBase.ts:62
rangeRange--FunctionBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotationThe return type annotation for the function.-FunctionBase.returnTypebase/FunctionBase.ts:66
typeFunctionExpression-FunctionBase.type-expression/FunctionExpression/spec.ts:6
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameter declaration for the function.-FunctionBase.typeParametersbase/FunctionBase.ts:70

Identifier

Defined in: expression/Identifier/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
decoratorsDecorator[]---expression/Identifier/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
namestring---expression/Identifier/spec.ts:9
optionalboolean---expression/Identifier/spec.ts:10
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeIdentifier-BaseNode.type-expression/Identifier/spec.ts:7
typeAnnotationundefined | TSTypeAnnotation---expression/Identifier/spec.ts:11

IdentifierToken

Defined in: token/IdentifierToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeIdentifier-BaseToken.type-token/IdentifierToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

IfStatement

Defined in: statement/IfStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
alternatenull | Statement---statement/IfStatement/spec.ts:8
consequentStatement---statement/IfStatement/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
testExpression---statement/IfStatement/spec.ts:10
typeIfStatement-BaseNode.type-statement/IfStatement/spec.ts:7

ImportAttribute

Defined in: special/ImportAttribute/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
keyIdentifier | Literal---special/ImportAttribute/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeImportAttribute-BaseNode.type-special/ImportAttribute/spec.ts:7
valueLiteral---special/ImportAttribute/spec.ts:9

ImportDeclaration

Defined in: declaration/ImportDeclaration/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
assertionsImportAttribute[]The assertions declared for the export. Example import * from 'mod' assert \{ type: 'json' \}; Deprecated Replaced with `attributes`.--declaration/ImportDeclaration/spec.ts:18
attributesImportAttribute[]The attributes declared for the export. Example import * from 'mod' with \{ type: 'json' \};--declaration/ImportDeclaration/spec.ts:26
importKindExportAndImportKindThe kind of the import.--declaration/ImportDeclaration/spec.ts:30
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
sourceStringLiteralThe source module being imported from.--declaration/ImportDeclaration/spec.ts:34
specifiersImportClause[]The specifiers being imported. If this is an empty array then either there are no specifiers: import {} from 'mod'; Or it is a side-effect import: import 'mod';--declaration/ImportDeclaration/spec.ts:46
typeImportDeclaration-BaseNode.type-declaration/ImportDeclaration/spec.ts:9

ImportDefaultSpecifier

Defined in: special/ImportDefaultSpecifier/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
localIdentifier---special/ImportDefaultSpecifier/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeImportDefaultSpecifier-BaseNode.type-special/ImportDefaultSpecifier/spec.ts:6

ImportExpression

Defined in: expression/ImportExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
attributesnull | ExpressionThe attributes declared for the dynamic import. Example import('mod', \{ assert: \{ type: 'json' \} \}); Deprecated Replaced with `options`.--expression/ImportExpression/spec.ts:15
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionsnull | ExpressionThe options bag declared for the dynamic import. Example import('mod', \{ assert: \{ type: 'json' \} \});--expression/ImportExpression/spec.ts:23
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
sourceExpression---expression/ImportExpression/spec.ts:24
typeImportExpression-BaseNode.type-expression/ImportExpression/spec.ts:6

ImportNamespaceSpecifier

Defined in: special/ImportNamespaceSpecifier/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
localIdentifier---special/ImportNamespaceSpecifier/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeImportNamespaceSpecifier-BaseNode.type-special/ImportNamespaceSpecifier/spec.ts:6

ImportSpecifier

Defined in: special/ImportSpecifier/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
imported| Identifier | StringLiteral---special/ImportSpecifier/spec.ts:9
importKindExportAndImportKind---special/ImportSpecifier/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
localIdentifier---special/ImportSpecifier/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeImportSpecifier-BaseNode.type-special/ImportSpecifier/spec.ts:8

JSXAttribute

Defined in: jsx/JSXAttribute/spec.ts:9

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
name| JSXIdentifier | JSXNamespacedName---jsx/JSXAttribute/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXAttribute-BaseNode.type-jsx/JSXAttribute/spec.ts:10
value| null | JSXElement | Literal | JSXExpression---jsx/JSXAttribute/spec.ts:12

JSXClosingElement

Defined in: jsx/JSXClosingElement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
nameJSXTagNameExpression---jsx/JSXClosingElement/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXClosingElement-BaseNode.type-jsx/JSXClosingElement/spec.ts:6

JSXClosingFragment

Defined in: jsx/JSXClosingFragment/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXClosingFragment-BaseNode.type-jsx/JSXClosingFragment/spec.ts:5

JSXElement

Defined in: expression/JSXElement/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
childrenJSXChild[]---expression/JSXElement/spec.ts:9
closingElementnull | JSXClosingElement---expression/JSXElement/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
openingElementJSXOpeningElement---expression/JSXElement/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXElement-BaseNode.type-expression/JSXElement/spec.ts:8

JSXEmptyExpression

Defined in: jsx/JSXEmptyExpression/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXEmptyExpression-BaseNode.type-jsx/JSXEmptyExpression/spec.ts:5

JSXExpressionContainer

Defined in: jsx/JSXExpressionContainer/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expression| Expression | JSXEmptyExpression---jsx/JSXExpressionContainer/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXExpressionContainer-BaseNode.type-jsx/JSXExpressionContainer/spec.ts:7

JSXFragment

Defined in: expression/JSXFragment/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
childrenJSXChild[]---expression/JSXFragment/spec.ts:9
closingFragmentJSXClosingFragment---expression/JSXFragment/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
openingFragmentJSXOpeningFragment---expression/JSXFragment/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXFragment-BaseNode.type-expression/JSXFragment/spec.ts:8

JSXIdentifier

Defined in: jsx/JSXIdentifier/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
namestring---jsx/JSXIdentifier/spec.ts:6
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXIdentifier-BaseNode.type-jsx/JSXIdentifier/spec.ts:5

JSXIdentifierToken

Defined in: token/JSXIdentifierToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeJSXIdentifier-BaseToken.type-token/JSXIdentifierToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

JSXMemberExpression

Defined in: jsx/JSXMemberExpression/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
objectJSXTagNameExpression---jsx/JSXMemberExpression/spec.ts:8
propertyJSXIdentifier---jsx/JSXMemberExpression/spec.ts:9
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXMemberExpression-BaseNode.type-jsx/JSXMemberExpression/spec.ts:7

JSXNamespacedName

Defined in: jsx/JSXNamespacedName/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
nameJSXIdentifier---jsx/JSXNamespacedName/spec.ts:7
namespaceJSXIdentifier---jsx/JSXNamespacedName/spec.ts:8
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXNamespacedName-BaseNode.type-jsx/JSXNamespacedName/spec.ts:6

JSXOpeningElement

Defined in: jsx/JSXOpeningElement/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
attributes( | JSXAttribute | JSXSpreadAttribute)[]---jsx/JSXOpeningElement/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
nameJSXTagNameExpression---jsx/JSXOpeningElement/spec.ts:11
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
selfClosingboolean---jsx/JSXOpeningElement/spec.ts:12
typeJSXOpeningElement-BaseNode.type-jsx/JSXOpeningElement/spec.ts:9
typeArguments| undefined | TSTypeParameterInstantiation---jsx/JSXOpeningElement/spec.ts:13

JSXOpeningFragment

Defined in: jsx/JSXOpeningFragment/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXOpeningFragment-BaseNode.type-jsx/JSXOpeningFragment/spec.ts:5

JSXSpreadAttribute

Defined in: jsx/JSXSpreadAttribute/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentExpression---jsx/JSXSpreadAttribute/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXSpreadAttribute-BaseNode.type-jsx/JSXSpreadAttribute/spec.ts:6

JSXSpreadChild

Defined in: jsx/JSXSpreadChild/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expression| Expression | JSXEmptyExpression---jsx/JSXSpreadChild/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeJSXSpreadChild-BaseNode.type-jsx/JSXSpreadChild/spec.ts:7

JSXText

Defined in: jsx/JSXText/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rawstring---jsx/JSXText/spec.ts:6
typeJSXText-BaseNode.type-jsx/JSXText/spec.ts:5
valuestring---jsx/JSXText/spec.ts:7

JSXTextToken

Defined in: token/JSXTextToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeJSXText-BaseToken.type-token/JSXTextToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

KeywordToken

Defined in: token/KeywordToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeKeyword-BaseToken.type-token/KeywordToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

LabeledStatement

Defined in: statement/LabeledStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement---statement/LabeledStatement/spec.ts:8
labelIdentifier---statement/LabeledStatement/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeLabeledStatement-BaseNode.type-statement/LabeledStatement/spec.ts:7

LetOrVarDeclaredDeclaration

Defined in: declaration/VariableDeclaration/spec.ts:44

Extends

  • LetOrConstOrVarDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
declarationsVariableDeclaratorNoInit[]In a declare let declaration, the declarators must not have definite assignment assertions or initializers. Example using x = 1; using y =1, z = 2;LetOrConstOrVarDeclarationBase.declarations-declaration/VariableDeclaration/spec.ts:56
declaretrueWhether the declaration is declared Example declare const x = 1;LetOrConstOrVarDeclarationBase.declare-declaration/VariableDeclaration/spec.ts:57
kind"let" | "var"The keyword used to declare the variable(s) Example const x = 1; let y = 2; var z = 3;LetOrConstOrVarDeclarationBase.kind-declaration/VariableDeclaration/spec.ts:58
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LetOrConstOrVarDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--LetOrConstOrVarDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclaration--LetOrConstOrVarDeclarationBase.typedeclaration/VariableDeclaration/spec.ts:13

LetOrVarNonDeclaredDeclaration

Defined in: declaration/VariableDeclaration/spec.ts:61

Extends

  • LetOrConstOrVarDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
declarations( | VariableDeclaratorMaybeInit | VariableDeclaratorDefiniteAssignment)[]In a let/var declaration, the declarators may have definite assignment assertions or initializers, but not both.LetOrConstOrVarDeclarationBase.declarations-declaration/VariableDeclaration/spec.ts:67
declarefalseWhether the declaration is declared Example declare const x = 1;LetOrConstOrVarDeclarationBase.declare-declaration/VariableDeclaration/spec.ts:71
kind"let" | "var"The keyword used to declare the variable(s) Example const x = 1; let y = 2; var z = 3;LetOrConstOrVarDeclarationBase.kind-declaration/VariableDeclaration/spec.ts:72
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LetOrConstOrVarDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--LetOrConstOrVarDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclaration--LetOrConstOrVarDeclarationBase.typedeclaration/VariableDeclaration/spec.ts:13

LineComment

Defined in: token/LineComment/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeLine-BaseToken.type-token/LineComment/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

LogicalExpression

Defined in: expression/LogicalExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
leftExpression---expression/LogicalExpression/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
operator"&&" | "||" | "??"---expression/LogicalExpression/spec.ts:8
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightExpression---expression/LogicalExpression/spec.ts:9
typeLogicalExpression-BaseNode.type-expression/LogicalExpression/spec.ts:6

MemberExpressionComputedName

Defined in: expression/MemberExpression/spec.ts:14

Extends

  • MemberExpressionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
computedtrue-MemberExpressionBase.computed-expression/MemberExpression/spec.ts:16
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-MemberExpressionBase.locbase/NodeOrTokenData.ts:12
objectExpression--MemberExpressionBase.objectexpression/MemberExpression/spec.ts:9
optionalboolean--MemberExpressionBase.optionalexpression/MemberExpression/spec.ts:10
propertyExpression-MemberExpressionBase.property-expression/MemberExpression/spec.ts:17
rangeRange--MemberExpressionBase.rangebase/NodeOrTokenData.ts:14
typeMemberExpression-MemberExpressionBase.type-expression/MemberExpression/spec.ts:15

MemberExpressionNonComputedName

Defined in: expression/MemberExpression/spec.ts:20

Extends

  • MemberExpressionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
computedfalse-MemberExpressionBase.computed-expression/MemberExpression/spec.ts:22
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-MemberExpressionBase.locbase/NodeOrTokenData.ts:12
objectExpression--MemberExpressionBase.objectexpression/MemberExpression/spec.ts:9
optionalboolean--MemberExpressionBase.optionalexpression/MemberExpression/spec.ts:10
property| Identifier | PrivateIdentifier-MemberExpressionBase.property-expression/MemberExpression/spec.ts:23
rangeRange--MemberExpressionBase.rangebase/NodeOrTokenData.ts:14
typeMemberExpression-MemberExpressionBase.type-expression/MemberExpression/spec.ts:21

MetaProperty

Defined in: expression/MetaProperty/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
metaIdentifier---expression/MetaProperty/spec.ts:7
propertyIdentifier---expression/MetaProperty/spec.ts:8
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeMetaProperty-BaseNode.type-expression/MetaProperty/spec.ts:6

MethodDefinitionComputedName

Defined in: element/MethodDefinition/spec.ts:7

Extends

  • MethodDefinitionComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--MethodDefinitionComputedNameBase.accessibilitybase/MethodDefinitionBase.ts:15
computedtrue--MethodDefinitionComputedNameBase.computedbase/MethodDefinitionBase.ts:27
decoratorsDecorator[]--MethodDefinitionComputedNameBase.decoratorsbase/MethodDefinitionBase.ts:17
keyExpression--MethodDefinitionComputedNameBase.keybase/MethodDefinitionBase.ts:28
kind"get" | "method" | "set" | "constructor"--MethodDefinitionComputedNameBase.kindbase/MethodDefinitionBase.ts:19
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-MethodDefinitionComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--MethodDefinitionComputedNameBase.optionalbase/MethodDefinitionBase.ts:20
overrideboolean--MethodDefinitionComputedNameBase.overridebase/MethodDefinitionBase.ts:21
rangeRange--MethodDefinitionComputedNameBase.rangebase/NodeOrTokenData.ts:14
staticboolean--MethodDefinitionComputedNameBase.staticbase/MethodDefinitionBase.ts:22
typeMethodDefinition-MethodDefinitionComputedNameBase.type-element/MethodDefinition/spec.ts:9
value| FunctionExpression | TSEmptyBodyFunctionExpression--MethodDefinitionComputedNameBase.valuebase/MethodDefinitionBase.ts:23

MethodDefinitionNonComputedName

Defined in: element/MethodDefinition/spec.ts:12

Extends

  • ClassMethodDefinitionNonComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--ClassMethodDefinitionNonComputedNameBase.accessibilitybase/MethodDefinitionBase.ts:15
computedfalse--ClassMethodDefinitionNonComputedNameBase.computedbase/MethodDefinitionBase.ts:39
decoratorsDecorator[]--ClassMethodDefinitionNonComputedNameBase.decoratorsbase/MethodDefinitionBase.ts:17
keyClassPropertyNameNonComputed--ClassMethodDefinitionNonComputedNameBase.keybase/MethodDefinitionBase.ts:40
kind"get" | "method" | "set" | "constructor"--ClassMethodDefinitionNonComputedNameBase.kindbase/MethodDefinitionBase.ts:19
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ClassMethodDefinitionNonComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--ClassMethodDefinitionNonComputedNameBase.optionalbase/MethodDefinitionBase.ts:20
overrideboolean--ClassMethodDefinitionNonComputedNameBase.overridebase/MethodDefinitionBase.ts:21
rangeRange--ClassMethodDefinitionNonComputedNameBase.rangebase/NodeOrTokenData.ts:14
staticboolean--ClassMethodDefinitionNonComputedNameBase.staticbase/MethodDefinitionBase.ts:22
typeMethodDefinition-ClassMethodDefinitionNonComputedNameBase.type-element/MethodDefinition/spec.ts:14
value| FunctionExpression | TSEmptyBodyFunctionExpression--ClassMethodDefinitionNonComputedNameBase.valuebase/MethodDefinitionBase.ts:23

NewExpression

Defined in: expression/NewExpression/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentsCallExpressionArgument[]---expression/NewExpression/spec.ts:9
calleeExpression---expression/NewExpression/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeNewExpression-BaseNode.type-expression/NewExpression/spec.ts:8
typeArguments| undefined | TSTypeParameterInstantiation---expression/NewExpression/spec.ts:11

NodeOrTokenData

Defined in: base/NodeOrTokenData.ts:4

Extended by

Properties

PropertyTypeDescriptionDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.base/NodeOrTokenData.ts:12
rangeRange-base/NodeOrTokenData.ts:14
typestring-base/NodeOrTokenData.ts:5

NullLiteral

Defined in: expression/literal/NullLiteral/spec.ts:3

Extends

  • LiteralBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LiteralBase.locbase/NodeOrTokenData.ts:12
rangeRange--LiteralBase.rangebase/NodeOrTokenData.ts:14
raw"null"-LiteralBase.raw-expression/literal/NullLiteral/spec.ts:4
typeLiteral--LiteralBase.typebase/LiteralBase.ts:5
valuenull-LiteralBase.value-expression/literal/NullLiteral/spec.ts:5

NullToken

Defined in: token/NullToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeNull-BaseToken.type-token/NullToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

NumberLiteral

Defined in: expression/literal/NumberLiteral/spec.ts:3

Extends

  • LiteralBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LiteralBase.locbase/NodeOrTokenData.ts:12
rangeRange--LiteralBase.rangebase/NodeOrTokenData.ts:14
rawstring--LiteralBase.rawbase/LiteralBase.ts:6
typeLiteral--LiteralBase.typebase/LiteralBase.ts:5
valuenumber-LiteralBase.value-expression/literal/NumberLiteral/spec.ts:4

NumericToken

Defined in: token/NumericToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeNumeric-BaseToken.type-token/NumericToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

ObjectExpression

Defined in: expression/ObjectExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
propertiesObjectLiteralElement[]---expression/ObjectExpression/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeObjectExpression-BaseNode.type-expression/ObjectExpression/spec.ts:6

ObjectPattern

Defined in: parameter/ObjectPattern/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
decoratorsDecorator[]---parameter/ObjectPattern/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionalboolean---parameter/ObjectPattern/spec.ts:11
properties( | RestElement | Property)[]---parameter/ObjectPattern/spec.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeObjectPattern-BaseNode.type-parameter/ObjectPattern/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation---parameter/ObjectPattern/spec.ts:13

Position

Defined in: base/Position.ts:1

Properties

PropertyTypeDescriptionDefined in
columnnumberColumn number on the line (0-indexed)base/Position.ts:5
linenumberLine number (1-indexed)base/Position.ts:9

PrivateIdentifier

Defined in: special/PrivateIdentifier/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
namestring---special/PrivateIdentifier/spec.ts:6
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typePrivateIdentifier-BaseNode.type-special/PrivateIdentifier/spec.ts:5

Program

Defined in: special/Program/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyProgramStatement[]---special/Program/spec.ts:9
commentsundefined | Comment[]---special/Program/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-NodeOrTokenData.locbase/NodeOrTokenData.ts:12
rangeRange--NodeOrTokenData.rangebase/NodeOrTokenData.ts:14
sourceType"module" | "script"---special/Program/spec.ts:11
tokensundefined | Token[]---special/Program/spec.ts:12
typeProgram-NodeOrTokenData.type-special/Program/spec.ts:8

PropertyComputedName

Defined in: element/Property/spec.ts:28

Extends

  • PropertyBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
computedtrue-PropertyBase.computed-element/Property/spec.ts:29
keyExpression-PropertyBase.key-element/Property/spec.ts:30
kind"get" | "set" | "init"--PropertyBase.kindelement/Property/spec.ts:17
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyBase.locbase/NodeOrTokenData.ts:12
methodboolean--PropertyBase.methodelement/Property/spec.ts:18
optionalboolean--PropertyBase.optionalelement/Property/spec.ts:19
rangeRange--PropertyBase.rangebase/NodeOrTokenData.ts:14
shorthandboolean--PropertyBase.shorthandelement/Property/spec.ts:20
typeProperty--PropertyBase.typeelement/Property/spec.ts:14
value| Identifier | ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | CallExpression | ChainExpression | ClassExpression | ConditionalExpression | FunctionExpression | ImportExpression | JSXElement | JSXFragment | BigIntLiteral | BooleanLiteral | NullLiteral | NumberLiteral | RegExpLiteral | StringLiteral | TemplateLiteral | LogicalExpression | MemberExpressionComputedName | MemberExpressionNonComputedName | MetaProperty | NewExpression | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | ThisExpression | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | UnaryExpression | UpdateExpression | YieldExpression | AssignmentPattern | TSEmptyBodyFunctionExpression--PropertyBase.valueelement/Property/spec.ts:21

PropertyDefinitionComputedName

Defined in: element/PropertyDefinition/spec.ts:7

Extends

  • PropertyDefinitionComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedtrue--PropertyDefinitionComputedNameBase.computedbase/PropertyDefinitionBase.ts:30
declareboolean--PropertyDefinitionComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyExpression--PropertyDefinitionComputedNameBase.keybase/PropertyDefinitionBase.ts:31
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typePropertyDefinition-PropertyDefinitionComputedNameBase.type-element/PropertyDefinition/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull | Expression--PropertyDefinitionComputedNameBase.valuebase/PropertyDefinitionBase.ts:25

PropertyDefinitionNonComputedName

Defined in: element/PropertyDefinition/spec.ts:12

Extends

  • ClassPropertyDefinitionNonComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--ClassPropertyDefinitionNonComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedfalse--ClassPropertyDefinitionNonComputedNameBase.computedbase/PropertyDefinitionBase.ts:42
declareboolean--ClassPropertyDefinitionNonComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--ClassPropertyDefinitionNonComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--ClassPropertyDefinitionNonComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyClassPropertyNameNonComputed--ClassPropertyDefinitionNonComputedNameBase.keybase/PropertyDefinitionBase.ts:43
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-ClassPropertyDefinitionNonComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--ClassPropertyDefinitionNonComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--ClassPropertyDefinitionNonComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--ClassPropertyDefinitionNonComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--ClassPropertyDefinitionNonComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--ClassPropertyDefinitionNonComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typePropertyDefinition-ClassPropertyDefinitionNonComputedNameBase.type-element/PropertyDefinition/spec.ts:14
typeAnnotationundefined | TSTypeAnnotation--ClassPropertyDefinitionNonComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull | Expression--ClassPropertyDefinitionNonComputedNameBase.valuebase/PropertyDefinitionBase.ts:25

PropertyNonComputedName

Defined in: element/Property/spec.ts:32

Extends

  • PropertyBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
computedfalse-PropertyBase.computed-element/Property/spec.ts:33
keyPropertyNameNonComputed-PropertyBase.key-element/Property/spec.ts:34
kind"get" | "set" | "init"--PropertyBase.kindelement/Property/spec.ts:17
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyBase.locbase/NodeOrTokenData.ts:12
methodboolean--PropertyBase.methodelement/Property/spec.ts:18
optionalboolean--PropertyBase.optionalelement/Property/spec.ts:19
rangeRange--PropertyBase.rangebase/NodeOrTokenData.ts:14
shorthandboolean--PropertyBase.shorthandelement/Property/spec.ts:20
typeProperty--PropertyBase.typeelement/Property/spec.ts:14
value| Identifier | ArrayExpression | ArrayPattern | ArrowFunctionExpression | AssignmentExpression | AwaitExpression | BinaryExpression | CallExpression | ChainExpression | ClassExpression | ConditionalExpression | FunctionExpression | ImportExpression | JSXElement | JSXFragment | BigIntLiteral | BooleanLiteral | NullLiteral | NumberLiteral | RegExpLiteral | StringLiteral | TemplateLiteral | LogicalExpression | MemberExpressionComputedName | MemberExpressionNonComputedName | MetaProperty | NewExpression | ObjectExpression | ObjectPattern | SequenceExpression | Super | TaggedTemplateExpression | ThisExpression | TSAsExpression | TSInstantiationExpression | TSNonNullExpression | TSSatisfiesExpression | TSTypeAssertion | UnaryExpression | UpdateExpression | YieldExpression | AssignmentPattern | TSEmptyBodyFunctionExpression--PropertyBase.valueelement/Property/spec.ts:21

PunctuatorToken

Defined in: token/PunctuatorToken/spec.ts:8

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typePunctuator-BaseToken.type-token/PunctuatorToken/spec.ts:9
valueValueOf<PunctuatorTokenToText>-BaseToken.value-token/PunctuatorToken/spec.ts:10

PunctuatorTokenToText

Defined in: token/PunctuatorToken/PunctuatorTokenToText.ts:5

Extends

Properties

PropertyTypeInherited fromDefined in
19"{"-token/PunctuatorToken/PunctuatorTokenToText.ts:39
20"}"-token/PunctuatorToken/PunctuatorTokenToText.ts:15
21"("-token/PunctuatorToken/PunctuatorTokenToText.ts:41
22")"-token/PunctuatorToken/PunctuatorTokenToText.ts:17
23"["-token/PunctuatorToken/PunctuatorTokenToText.ts:40
24"]"-token/PunctuatorToken/PunctuatorTokenToText.ts:16
25"."-token/PunctuatorToken/PunctuatorTokenToText.ts:21
26"..."-token/PunctuatorToken/PunctuatorTokenToText.ts:20
27";"-token/PunctuatorToken/PunctuatorTokenToText.ts:48
28","-token/PunctuatorToken/PunctuatorTokenToText.ts:19
29"?."-token/PunctuatorToken/PunctuatorTokenToText.ts:45
30"<"-token/PunctuatorToken/PunctuatorTokenToText.ts:36
31"</"-token/PunctuatorToken/PunctuatorTokenToText.ts:35
32">"-token/PunctuatorToken/PunctuatorTokenToText.ts:31
33"<="-token/PunctuatorToken/PunctuatorTokenToText.ts:33
34">="-token/PunctuatorToken/PunctuatorTokenToText.ts:28
35"=="-token/PunctuatorToken/PunctuatorTokenToText.ts:23
36"!="-token/PunctuatorToken/PunctuatorTokenToText.ts:26
37"==="-token/PunctuatorToken/PunctuatorTokenToText.ts:22
38"!=="-token/PunctuatorToken/PunctuatorTokenToText.ts:25
39"=>"-token/PunctuatorToken/PunctuatorTokenToText.ts:24
40"+"-token/PunctuatorToken/PunctuatorTokenToText.ts:44
41"-"-token/PunctuatorToken/PunctuatorTokenToText.ts:38
42"*"-token/PunctuatorToken/PunctuatorTokenToText.ts:9
43"**"-token/PunctuatorToken/PunctuatorTokenToText.ts:8
44"/"-token/PunctuatorToken/PunctuatorTokenToText.ts:49
45"%"-token/PunctuatorToken/PunctuatorTokenToText.ts:42
46"++"-token/PunctuatorToken/PunctuatorTokenToText.ts:43
47"--"-token/PunctuatorToken/PunctuatorTokenToText.ts:37
48"<<"-token/PunctuatorToken/PunctuatorTokenToText.ts:34
49">>"-token/PunctuatorToken/PunctuatorTokenToText.ts:30
50">>>"-token/PunctuatorToken/PunctuatorTokenToText.ts:29
51"&"-token/PunctuatorToken/PunctuatorTokenToText.ts:7
52"|"-token/PunctuatorToken/PunctuatorTokenToText.ts:13
53"^"-token/PunctuatorToken/PunctuatorTokenToText.ts:14
54"!"-token/PunctuatorToken/PunctuatorTokenToText.ts:27
55"~"-token/PunctuatorToken/PunctuatorTokenToText.ts:50
56"&&"-token/PunctuatorToken/PunctuatorTokenToText.ts:6
57"||"-token/PunctuatorToken/PunctuatorTokenToText.ts:12
58"?"-token/PunctuatorToken/PunctuatorTokenToText.ts:47
59":"-token/PunctuatorToken/PunctuatorTokenToText.ts:18
60"@"-token/PunctuatorToken/PunctuatorTokenToText.ts:10
61"??"-token/PunctuatorToken/PunctuatorTokenToText.ts:46
62"`"-token/PunctuatorToken/PunctuatorTokenToText.ts:11
63"#"-token/PunctuatorToken/PunctuatorTokenToText.ts:32
64"="AssignmentOperatorToText.64expression/AssignmentExpression/AssignmentOperatorToText.ts:11
65"+="AssignmentOperatorToText.65expression/AssignmentExpression/AssignmentOperatorToText.ts:17
66"-="AssignmentOperatorToText.66expression/AssignmentExpression/AssignmentOperatorToText.ts:15
67"*="AssignmentOperatorToText.67expression/AssignmentExpression/AssignmentOperatorToText.ts:7
68"**="AssignmentOperatorToText.68expression/AssignmentExpression/AssignmentOperatorToText.ts:6
69"/="AssignmentOperatorToText.69expression/AssignmentExpression/AssignmentOperatorToText.ts:19
70"%="AssignmentOperatorToText.70expression/AssignmentExpression/AssignmentOperatorToText.ts:16
71"<<="AssignmentOperatorToText.71expression/AssignmentExpression/AssignmentOperatorToText.ts:14
72">>="AssignmentOperatorToText.72expression/AssignmentExpression/AssignmentOperatorToText.ts:12
73">>>="AssignmentOperatorToText.73expression/AssignmentExpression/AssignmentOperatorToText.ts:13
74"&="AssignmentOperatorToText.74expression/AssignmentExpression/AssignmentOperatorToText.ts:5
75"|="AssignmentOperatorToText.75expression/AssignmentExpression/AssignmentOperatorToText.ts:9
76"||="AssignmentOperatorToText.76expression/AssignmentExpression/AssignmentOperatorToText.ts:8
77"&&="AssignmentOperatorToText.77expression/AssignmentExpression/AssignmentOperatorToText.ts:4
78"??="AssignmentOperatorToText.78expression/AssignmentExpression/AssignmentOperatorToText.ts:18
79"^="AssignmentOperatorToText.79expression/AssignmentExpression/AssignmentOperatorToText.ts:10

RegExpLiteral

Defined in: expression/literal/RegExpLiteral/spec.ts:3

Extends

  • LiteralBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LiteralBase.locbase/NodeOrTokenData.ts:12
rangeRange--LiteralBase.rangebase/NodeOrTokenData.ts:14
rawstring--LiteralBase.rawbase/LiteralBase.ts:6
regexobject---expression/literal/RegExpLiteral/spec.ts:4
regex.flagsstring---expression/literal/RegExpLiteral/spec.ts:5
regex.patternstring---expression/literal/RegExpLiteral/spec.ts:6
typeLiteral--LiteralBase.typebase/LiteralBase.ts:5
valuenull | RegExp-LiteralBase.value-expression/literal/RegExpLiteral/spec.ts:8

RegularExpressionToken

Defined in: token/RegularExpressionToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
regexobject---token/RegularExpressionToken/spec.ts:6
regex.flagsstring---token/RegularExpressionToken/spec.ts:7
regex.patternstring---token/RegularExpressionToken/spec.ts:8
typeRegularExpression-BaseToken.type-token/RegularExpressionToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

RestElement

Defined in: parameter/RestElement/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentDestructuringPattern---parameter/RestElement/spec.ts:10
decoratorsDecorator[]---parameter/RestElement/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionalboolean---parameter/RestElement/spec.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeRestElement-BaseNode.type-parameter/RestElement/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation---parameter/RestElement/spec.ts:13
valueundefined | AssignmentPattern---parameter/RestElement/spec.ts:14

ReturnStatement

Defined in: statement/ReturnStatement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentnull | Expression---statement/ReturnStatement/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeReturnStatement-BaseNode.type-statement/ReturnStatement/spec.ts:6

SequenceExpression

Defined in: expression/SequenceExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionsExpression[]---expression/SequenceExpression/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeSequenceExpression-BaseNode.type-expression/SequenceExpression/spec.ts:6

SourceLocation

Defined in: base/SourceLocation.ts:3

Properties

PropertyTypeDescriptionDefined in
endPositionThe position of the first character after the parsed source regionbase/SourceLocation.ts:7
startPositionThe position of the first character of the parsed source regionbase/SourceLocation.ts:11

SpreadElement

Defined in: element/SpreadElement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentExpression---element/SpreadElement/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeSpreadElement-BaseNode.type-element/SpreadElement/spec.ts:6

StaticBlock

Defined in: element/StaticBlock/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement[]---element/StaticBlock/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeStaticBlock-BaseNode.type-element/StaticBlock/spec.ts:6

StringLiteral

Defined in: expression/literal/StringLiteral/spec.ts:3

Extends

  • LiteralBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-LiteralBase.locbase/NodeOrTokenData.ts:12
rangeRange--LiteralBase.rangebase/NodeOrTokenData.ts:14
rawstring--LiteralBase.rawbase/LiteralBase.ts:6
typeLiteral--LiteralBase.typebase/LiteralBase.ts:5
valuestring-LiteralBase.value-expression/literal/StringLiteral/spec.ts:4

StringToken

Defined in: token/StringToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeString-BaseToken.type-token/StringToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

Super

Defined in: expression/Super/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeSuper-BaseNode.type-expression/Super/spec.ts:5

SwitchCase

Defined in: special/SwitchCase/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
consequentStatement[]---special/SwitchCase/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
testnull | Expression---special/SwitchCase/spec.ts:9
typeSwitchCase-BaseNode.type-special/SwitchCase/spec.ts:7

SwitchStatement

Defined in: statement/SwitchStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
casesSwitchCase[]---statement/SwitchStatement/spec.ts:8
discriminantExpression---statement/SwitchStatement/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeSwitchStatement-BaseNode.type-statement/SwitchStatement/spec.ts:7

TaggedTemplateExpression

Defined in: expression/TaggedTemplateExpression/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
quasiTemplateLiteral---expression/TaggedTemplateExpression/spec.ts:9
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
tagExpression---expression/TaggedTemplateExpression/spec.ts:10
typeTaggedTemplateExpression-BaseNode.type-expression/TaggedTemplateExpression/spec.ts:8
typeArguments| undefined | TSTypeParameterInstantiation---expression/TaggedTemplateExpression/spec.ts:11

TemplateElement

Defined in: special/TemplateElement/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
tailboolean---special/TemplateElement/spec.ts:6
typeTemplateElement-BaseNode.type-special/TemplateElement/spec.ts:5
valueobject---special/TemplateElement/spec.ts:7
value.cookedstring---special/TemplateElement/spec.ts:8
value.rawstring---special/TemplateElement/spec.ts:9

TemplateLiteral

Defined in: expression/TemplateLiteral/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionsExpression[]---expression/TemplateLiteral/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
quasisTemplateElement[]---expression/TemplateLiteral/spec.ts:9
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTemplateLiteral-BaseNode.type-expression/TemplateLiteral/spec.ts:7

TemplateToken

Defined in: token/TemplateToken/spec.ts:4

Extends

  • BaseToken

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseToken.locbase/NodeOrTokenData.ts:12
rangeRange--BaseToken.rangebase/NodeOrTokenData.ts:14
typeTemplate-BaseToken.type-token/TemplateToken/spec.ts:5
valuestring--BaseToken.valuebase/BaseToken.ts:9

ThisExpression

Defined in: expression/ThisExpression/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeThisExpression-BaseNode.type-expression/ThisExpression/spec.ts:5

ThrowStatement

Defined in: statement/ThrowStatement/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentExpression---statement/ThrowStatement/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeThrowStatement-BaseNode.type-statement/ThrowStatement/spec.ts:6

TryStatement

Defined in: statement/TryStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
blockBlockStatement---statement/TryStatement/spec.ts:8
finalizernull | BlockStatement---statement/TryStatement/spec.ts:9
handlernull | CatchClause---statement/TryStatement/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTryStatement-BaseNode.type-statement/TryStatement/spec.ts:7

TSAbstractAccessorPropertyComputedName

Defined in: element/TSAbstractAccessorProperty/spec.ts:7

Extends

  • PropertyDefinitionComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedtrue--PropertyDefinitionComputedNameBase.computedbase/PropertyDefinitionBase.ts:30
declareboolean--PropertyDefinitionComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyExpression--PropertyDefinitionComputedNameBase.keybase/PropertyDefinitionBase.ts:31
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typeTSAbstractAccessorProperty-PropertyDefinitionComputedNameBase.type-element/TSAbstractAccessorProperty/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull-PropertyDefinitionComputedNameBase.value-element/TSAbstractAccessorProperty/spec.ts:10

TSAbstractAccessorPropertyNonComputedName

Defined in: element/TSAbstractAccessorProperty/spec.ts:13

Extends

  • PropertyDefinitionNonComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionNonComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedfalse--PropertyDefinitionNonComputedNameBase.computedbase/PropertyDefinitionBase.ts:36
declareboolean--PropertyDefinitionNonComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionNonComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionNonComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyPropertyNameNonComputed--PropertyDefinitionNonComputedNameBase.keybase/PropertyDefinitionBase.ts:37
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionNonComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionNonComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionNonComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionNonComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionNonComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionNonComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typeTSAbstractAccessorProperty-PropertyDefinitionNonComputedNameBase.type-element/TSAbstractAccessorProperty/spec.ts:16
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionNonComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull-PropertyDefinitionNonComputedNameBase.value-element/TSAbstractAccessorProperty/spec.ts:17

TSAbstractKeyword

Defined in: type/TSAbstractKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSAbstractKeyword-BaseNode.type-type/TSAbstractKeyword/spec.ts:5

TSAbstractMethodDefinitionComputedName

Defined in: element/TSAbstractMethodDefinition/spec.ts:7

Extends

  • MethodDefinitionComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--MethodDefinitionComputedNameBase.accessibilitybase/MethodDefinitionBase.ts:15
computedtrue--MethodDefinitionComputedNameBase.computedbase/MethodDefinitionBase.ts:27
decoratorsDecorator[]--MethodDefinitionComputedNameBase.decoratorsbase/MethodDefinitionBase.ts:17
keyExpression--MethodDefinitionComputedNameBase.keybase/MethodDefinitionBase.ts:28
kind"get" | "method" | "set" | "constructor"--MethodDefinitionComputedNameBase.kindbase/MethodDefinitionBase.ts:19
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-MethodDefinitionComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--MethodDefinitionComputedNameBase.optionalbase/MethodDefinitionBase.ts:20
overrideboolean--MethodDefinitionComputedNameBase.overridebase/MethodDefinitionBase.ts:21
rangeRange--MethodDefinitionComputedNameBase.rangebase/NodeOrTokenData.ts:14
staticboolean--MethodDefinitionComputedNameBase.staticbase/MethodDefinitionBase.ts:22
typeTSAbstractMethodDefinition-MethodDefinitionComputedNameBase.type-element/TSAbstractMethodDefinition/spec.ts:9
value| FunctionExpression | TSEmptyBodyFunctionExpression--MethodDefinitionComputedNameBase.valuebase/MethodDefinitionBase.ts:23

TSAbstractMethodDefinitionNonComputedName

Defined in: element/TSAbstractMethodDefinition/spec.ts:12

Extends

  • MethodDefinitionNonComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--MethodDefinitionNonComputedNameBase.accessibilitybase/MethodDefinitionBase.ts:15
computedfalse--MethodDefinitionNonComputedNameBase.computedbase/MethodDefinitionBase.ts:33
decoratorsDecorator[]--MethodDefinitionNonComputedNameBase.decoratorsbase/MethodDefinitionBase.ts:17
keyPropertyNameNonComputed--MethodDefinitionNonComputedNameBase.keybase/MethodDefinitionBase.ts:34
kind"get" | "method" | "set" | "constructor"--MethodDefinitionNonComputedNameBase.kindbase/MethodDefinitionBase.ts:19
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-MethodDefinitionNonComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--MethodDefinitionNonComputedNameBase.optionalbase/MethodDefinitionBase.ts:20
overrideboolean--MethodDefinitionNonComputedNameBase.overridebase/MethodDefinitionBase.ts:21
rangeRange--MethodDefinitionNonComputedNameBase.rangebase/NodeOrTokenData.ts:14
staticboolean--MethodDefinitionNonComputedNameBase.staticbase/MethodDefinitionBase.ts:22
typeTSAbstractMethodDefinition-MethodDefinitionNonComputedNameBase.type-element/TSAbstractMethodDefinition/spec.ts:15
value| FunctionExpression | TSEmptyBodyFunctionExpression--MethodDefinitionNonComputedNameBase.valuebase/MethodDefinitionBase.ts:23

TSAbstractPropertyDefinitionComputedName

Defined in: element/TSAbstractPropertyDefinition/spec.ts:7

Extends

  • PropertyDefinitionComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedtrue--PropertyDefinitionComputedNameBase.computedbase/PropertyDefinitionBase.ts:30
declareboolean--PropertyDefinitionComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyExpression--PropertyDefinitionComputedNameBase.keybase/PropertyDefinitionBase.ts:31
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typeTSAbstractPropertyDefinition-PropertyDefinitionComputedNameBase.type-element/TSAbstractPropertyDefinition/spec.ts:9
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull-PropertyDefinitionComputedNameBase.value-element/TSAbstractPropertyDefinition/spec.ts:10

TSAbstractPropertyDefinitionNonComputedName

Defined in: element/TSAbstractPropertyDefinition/spec.ts:13

Extends

  • PropertyDefinitionNonComputedNameBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--PropertyDefinitionNonComputedNameBase.accessibilitybase/PropertyDefinitionBase.ts:14
computedfalse--PropertyDefinitionNonComputedNameBase.computedbase/PropertyDefinitionBase.ts:36
declareboolean--PropertyDefinitionNonComputedNameBase.declarebase/PropertyDefinitionBase.ts:16
decoratorsDecorator[]--PropertyDefinitionNonComputedNameBase.decoratorsbase/PropertyDefinitionBase.ts:17
definiteboolean--PropertyDefinitionNonComputedNameBase.definitebase/PropertyDefinitionBase.ts:18
keyPropertyNameNonComputed--PropertyDefinitionNonComputedNameBase.keybase/PropertyDefinitionBase.ts:37
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-PropertyDefinitionNonComputedNameBase.locbase/NodeOrTokenData.ts:12
optionalboolean--PropertyDefinitionNonComputedNameBase.optionalbase/PropertyDefinitionBase.ts:20
overrideboolean--PropertyDefinitionNonComputedNameBase.overridebase/PropertyDefinitionBase.ts:21
rangeRange--PropertyDefinitionNonComputedNameBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--PropertyDefinitionNonComputedNameBase.readonlybase/PropertyDefinitionBase.ts:22
staticboolean--PropertyDefinitionNonComputedNameBase.staticbase/PropertyDefinitionBase.ts:23
typeTSAbstractPropertyDefinition-PropertyDefinitionNonComputedNameBase.type-element/TSAbstractPropertyDefinition/spec.ts:16
typeAnnotationundefined | TSTypeAnnotation--PropertyDefinitionNonComputedNameBase.typeAnnotationbase/PropertyDefinitionBase.ts:24
valuenull-PropertyDefinitionNonComputedNameBase.value-element/TSAbstractPropertyDefinition/spec.ts:17

TSAnyKeyword

Defined in: type/TSAnyKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSAnyKeyword-BaseNode.type-type/TSAnyKeyword/spec.ts:5

TSArrayType

Defined in: type/TSArrayType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
elementTypeTypeNode---type/TSArrayType/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSArrayType-BaseNode.type-type/TSArrayType/spec.ts:6

TSAsExpression

Defined in: expression/TSAsExpression/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression---expression/TSAsExpression/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSAsExpression-BaseNode.type-expression/TSAsExpression/spec.ts:7
typeAnnotationTypeNode---expression/TSAsExpression/spec.ts:9

TSAsyncKeyword

Defined in: type/TSAsyncKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSAsyncKeyword-BaseNode.type-type/TSAsyncKeyword/spec.ts:5

TSBigIntKeyword

Defined in: type/TSBigIntKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSBigIntKeyword-BaseNode.type-type/TSBigIntKeyword/spec.ts:5

TSBooleanKeyword

Defined in: type/TSBooleanKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSBooleanKeyword-BaseNode.type-type/TSBooleanKeyword/spec.ts:5

TSCallSignatureDeclaration

Defined in: element/TSCallSignatureDeclaration/spec.ts:4

Extends

  • TSFunctionSignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSFunctionSignatureBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]--TSFunctionSignatureBase.paramsbase/TSFunctionSignatureBase.ts:7
rangeRange--TSFunctionSignatureBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotation--TSFunctionSignatureBase.returnTypebase/TSFunctionSignatureBase.ts:8
typeTSCallSignatureDeclaration-TSFunctionSignatureBase.type-element/TSCallSignatureDeclaration/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclaration--TSFunctionSignatureBase.typeParametersbase/TSFunctionSignatureBase.ts:9

TSClassImplements

Defined in: special/TSClassImplements/spec.ts:4

Extends

  • TSHeritageBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression--TSHeritageBase.expressionbase/TSHeritageBase.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSHeritageBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSHeritageBase.rangebase/NodeOrTokenData.ts:14
typeTSClassImplements-TSHeritageBase.type-special/TSClassImplements/spec.ts:5
typeArguments| undefined | TSTypeParameterInstantiation--TSHeritageBase.typeArgumentsbase/TSHeritageBase.ts:8

TSConditionalType

Defined in: type/TSConditionalType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
checkTypeTypeNode---type/TSConditionalType/spec.ts:7
extendsTypeTypeNode---type/TSConditionalType/spec.ts:8
falseTypeTypeNode---type/TSConditionalType/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
trueTypeTypeNode---type/TSConditionalType/spec.ts:10
typeTSConditionalType-BaseNode.type-type/TSConditionalType/spec.ts:6

TSConstructorType

Defined in: type/TSConstructorType/spec.ts:4

Extends

  • TSFunctionSignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
abstractboolean---type/TSConstructorType/spec.ts:6
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSFunctionSignatureBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]--TSFunctionSignatureBase.paramsbase/TSFunctionSignatureBase.ts:7
rangeRange--TSFunctionSignatureBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotation--TSFunctionSignatureBase.returnTypebase/TSFunctionSignatureBase.ts:8
typeTSConstructorType-TSFunctionSignatureBase.type-type/TSConstructorType/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclaration--TSFunctionSignatureBase.typeParametersbase/TSFunctionSignatureBase.ts:9

TSConstructSignatureDeclaration

Defined in: element/TSConstructSignatureDeclaration/spec.ts:4

Extends

  • TSFunctionSignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSFunctionSignatureBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]--TSFunctionSignatureBase.paramsbase/TSFunctionSignatureBase.ts:7
rangeRange--TSFunctionSignatureBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotation--TSFunctionSignatureBase.returnTypebase/TSFunctionSignatureBase.ts:8
typeTSConstructSignatureDeclaration-TSFunctionSignatureBase.type-element/TSConstructSignatureDeclaration/spec.ts:6
typeParameters| undefined | TSTypeParameterDeclaration--TSFunctionSignatureBase.typeParametersbase/TSFunctionSignatureBase.ts:9

TSDeclareFunctionNoDeclare

Defined in: declaration/TSDeclareFunction/spec.ts:44

Function declaration without the declare keyword:

function foo(): void;

This can either be an overload signature or a declaration in an ambient context (e.g. declare module)

Extends

  • TSDeclareFunctionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncbooleanWhether the function is async: async function foo() {} const x = async function () {} const x = async () => {}-TSDeclareFunctionBase.asyncbase/FunctionBase.ts:18
bodyundefinedTS1183: An implementation cannot be declared in ambient contexts.-TSDeclareFunctionBase.bodydeclaration/TSDeclareFunction/spec.ts:9
declarefalseWhether the declaration has declare modifier.TSDeclareFunctionBase.declare-declaration/TSDeclareFunction/spec.ts:45
expressionfalseThis is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1)-TSDeclareFunctionBase.expressiondeclaration/TSDeclareFunction/spec.ts:14
generatorfalse- TS1221: Generators are not allowed in an ambient context. - TS1222: An overload signature cannot be declared as a generator.TSDeclareFunctionBase.generator-declaration/TSDeclareFunction/spec.ts:50
idnull | IdentifierThe function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration.-TSDeclareFunctionBase.idbase/FunctionBase.ts:58
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSDeclareFunctionBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]The list of parameters declared for the function.-TSDeclareFunctionBase.paramsbase/FunctionBase.ts:62
rangeRange--TSDeclareFunctionBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotationThe return type annotation for the function.-TSDeclareFunctionBase.returnTypebase/FunctionBase.ts:66
typeTSDeclareFunction--TSDeclareFunctionBase.typedeclaration/TSDeclareFunction/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameter declaration for the function.-TSDeclareFunctionBase.typeParametersbase/FunctionBase.ts:70

TSDeclareFunctionWithDeclare

Defined in: declaration/TSDeclareFunction/spec.ts:23

Function declaration with the declare keyword:

declare function foo(): void;

Extends

  • TSDeclareFunctionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncfalseTS1040: 'async' modifier cannot be used in an ambient context.TSDeclareFunctionBase.async-declaration/TSDeclareFunction/spec.ts:27
bodyundefinedTS1183: An implementation cannot be declared in ambient contexts.-TSDeclareFunctionBase.bodydeclaration/TSDeclareFunction/spec.ts:9
declaretrueWhether the declaration has declare modifier.TSDeclareFunctionBase.declare-declaration/TSDeclareFunction/spec.ts:28
expressionfalseThis is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1)-TSDeclareFunctionBase.expressiondeclaration/TSDeclareFunction/spec.ts:14
generatorfalseTS1221: Generators are not allowed in an ambient context.TSDeclareFunctionBase.generator-declaration/TSDeclareFunction/spec.ts:32
idnull | IdentifierThe function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration.-TSDeclareFunctionBase.idbase/FunctionBase.ts:58
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSDeclareFunctionBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]The list of parameters declared for the function.-TSDeclareFunctionBase.paramsbase/FunctionBase.ts:62
rangeRange--TSDeclareFunctionBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotationThe return type annotation for the function.-TSDeclareFunctionBase.returnTypebase/FunctionBase.ts:66
typeTSDeclareFunction--TSDeclareFunctionBase.typedeclaration/TSDeclareFunction/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameter declaration for the function.-TSDeclareFunctionBase.typeParametersbase/FunctionBase.ts:70

TSDeclareKeyword

Defined in: type/TSDeclareKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSDeclareKeyword-BaseNode.type-type/TSDeclareKeyword/spec.ts:5

TSEmptyBodyFunctionExpression

Defined in: expression/TSEmptyBodyFunctionExpression/spec.ts:4

Extends

  • FunctionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
asyncbooleanWhether the function is async: async function foo() {} const x = async function () {} const x = async () => {}-FunctionBase.asyncbase/FunctionBase.ts:18
bodynullThe body of the function. - For an ArrowFunctionExpression this may be an Expression or BlockStatement. - For a FunctionDeclaration or FunctionExpression this is always a BlockStatement. - For a TSDeclareFunction this is always undefined. - For a TSEmptyBodyFunctionExpression this is always null.FunctionBase.body-expression/TSEmptyBodyFunctionExpression/spec.ts:6
declarebooleanThis is only true if and only if the node is a TSDeclareFunction and it has declare: declare function foo() {}-FunctionBase.declarebase/FunctionBase.ts:33
expressionbooleanThis is only ever true if and only the node is an ArrowFunctionExpression and the body is an expression: (() => 1)-FunctionBase.expressionbase/FunctionBase.ts:41
generatorbooleanWhether the function is a generator function: function *foo() {} const x = function *() {} This is always false for arrow functions as they cannot be generators.-FunctionBase.generatorbase/FunctionBase.ts:50
idnullThe function's name. - For an ArrowFunctionExpression this is always null. - For a FunctionExpression this may be null if the name is omitted. - For a FunctionDeclaration or TSDeclareFunction this may be null if and only if the parent is an ExportDefaultDeclaration.FunctionBase.id-expression/TSEmptyBodyFunctionExpression/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-FunctionBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]The list of parameters declared for the function.-FunctionBase.paramsbase/FunctionBase.ts:62
rangeRange--FunctionBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotationThe return type annotation for the function.-FunctionBase.returnTypebase/FunctionBase.ts:66
typeTSEmptyBodyFunctionExpression-FunctionBase.type-expression/TSEmptyBodyFunctionExpression/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameter declaration for the function.-FunctionBase.typeParametersbase/FunctionBase.ts:70

TSEnumBody

Defined in: special/TSEnumBody/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
membersTSEnumMember[]---special/TSEnumBody/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSEnumBody-BaseNode.type-special/TSEnumBody/spec.ts:6

TSEnumDeclaration

Defined in: declaration/TSEnumDeclaration/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTSEnumBodyThe body of the enum.--declaration/TSEnumDeclaration/spec.ts:12
constbooleanWhether this is a const enum. Example const enum Foo {}--declaration/TSEnumDeclaration/spec.ts:20
declarebooleanWhether this is a declared enum. Example declare enum Foo {}--declaration/TSEnumDeclaration/spec.ts:28
idIdentifierThe enum name.--declaration/TSEnumDeclaration/spec.ts:32
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
membersTSEnumMember[]The enum members. Deprecated Use body instead.--declaration/TSEnumDeclaration/spec.ts:37
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSEnumDeclaration-BaseNode.type-declaration/TSEnumDeclaration/spec.ts:8

TSEnumMemberComputedName

Defined in: element/TSEnumMember/spec.ts:32

this should only really happen in semantically invalid code (errors 1164 and 2452)

Example

// VALID:
enum Foo { ['a'] }

// INVALID:
const x = 'a';
enum Foo { [x] }
enum Bar { ['a' + 'b'] }

Extends

  • TSEnumMemberBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
computedtrue-TSEnumMemberBase.computed-element/TSEnumMember/spec.ts:33
idExpression-TSEnumMemberBase.id-element/TSEnumMember/spec.ts:34
initializerundefined | Expression--TSEnumMemberBase.initializerelement/TSEnumMember/spec.ts:15
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSEnumMemberBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSEnumMemberBase.rangebase/NodeOrTokenData.ts:14
typeTSEnumMember--TSEnumMemberBase.typeelement/TSEnumMember/spec.ts:10

TSEnumMemberNonComputedName

Defined in: element/TSEnumMember/spec.ts:37

Extends

  • TSEnumMemberBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
computedfalse-TSEnumMemberBase.computed-element/TSEnumMember/spec.ts:38
idPropertyNameNonComputed-TSEnumMemberBase.id-element/TSEnumMember/spec.ts:39
initializerundefined | Expression--TSEnumMemberBase.initializerelement/TSEnumMember/spec.ts:15
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSEnumMemberBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSEnumMemberBase.rangebase/NodeOrTokenData.ts:14
typeTSEnumMember--TSEnumMemberBase.typeelement/TSEnumMember/spec.ts:10

TSExportAssignment

Defined in: statement/TSExportAssignment/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression---statement/TSExportAssignment/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSExportAssignment-BaseNode.type-statement/TSExportAssignment/spec.ts:6

TSExportKeyword

Defined in: type/TSExportKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSExportKeyword-BaseNode.type-type/TSExportKeyword/spec.ts:5

TSExternalModuleReference

Defined in: special/TSExternalModuleReference/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionStringLiteral---special/TSExternalModuleReference/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSExternalModuleReference-BaseNode.type-special/TSExternalModuleReference/spec.ts:6

TSFunctionType

Defined in: type/TSFunctionType/spec.ts:4

Extends

  • TSFunctionSignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSFunctionSignatureBase.locbase/NodeOrTokenData.ts:12
paramsParameter[]--TSFunctionSignatureBase.paramsbase/TSFunctionSignatureBase.ts:7
rangeRange--TSFunctionSignatureBase.rangebase/NodeOrTokenData.ts:14
returnTypeundefined | TSTypeAnnotation--TSFunctionSignatureBase.returnTypebase/TSFunctionSignatureBase.ts:8
typeTSFunctionType-TSFunctionSignatureBase.type-type/TSFunctionType/spec.ts:5
typeParameters| undefined | TSTypeParameterDeclaration--TSFunctionSignatureBase.typeParametersbase/TSFunctionSignatureBase.ts:9

TSImportEqualsNamespaceDeclaration

Defined in: declaration/TSImportEqualsDeclaration/spec.ts:31

Extends

  • TSImportEqualsDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
idIdentifierThe locally imported name.-TSImportEqualsDeclarationBase.iddeclaration/TSImportEqualsDeclaration/spec.ts:13
importKind"value"The kind of the import.TSImportEqualsDeclarationBase.importKind-declaration/TSImportEqualsDeclaration/spec.ts:36
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSImportEqualsDeclarationBase.locbase/NodeOrTokenData.ts:12
moduleReference| TSQualifiedName | IdentifierThe value being aliased. import F1 = A; import F2 = A.B.C;TSImportEqualsDeclarationBase.moduleReference-declaration/TSImportEqualsDeclaration/spec.ts:44
rangeRange--TSImportEqualsDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeTSImportEqualsDeclaration--TSImportEqualsDeclarationBase.typedeclaration/TSImportEqualsDeclaration/spec.ts:9

TSImportEqualsRequireDeclaration

Defined in: declaration/TSImportEqualsDeclaration/spec.ts:47

Extends

  • TSImportEqualsDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
idIdentifierThe locally imported name.-TSImportEqualsDeclarationBase.iddeclaration/TSImportEqualsDeclaration/spec.ts:13
importKindExportAndImportKindThe kind of the import.TSImportEqualsDeclarationBase.importKind-declaration/TSImportEqualsDeclaration/spec.ts:52
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSImportEqualsDeclarationBase.locbase/NodeOrTokenData.ts:12
moduleReferenceTSExternalModuleReferenceThe value being aliased. import F3 = require('mod');TSImportEqualsDeclarationBase.moduleReference-declaration/TSImportEqualsDeclaration/spec.ts:59
rangeRange--TSImportEqualsDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeTSImportEqualsDeclaration--TSImportEqualsDeclarationBase.typedeclaration/TSImportEqualsDeclaration/spec.ts:9

TSImportType

Defined in: type/TSImportType/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentTypeNode---type/TSImportType/spec.ts:10
attributesImportAttribute[]---type/TSImportType/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
qualifiernull | EntityName---type/TSImportType/spec.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSImportType-BaseNode.type-type/TSImportType/spec.ts:9
typeArguments| null | TSTypeParameterInstantiation---type/TSImportType/spec.ts:13

TSIndexedAccessType

Defined in: type/TSIndexedAccessType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
indexTypeTypeNode---type/TSIndexedAccessType/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
objectTypeTypeNode---type/TSIndexedAccessType/spec.ts:8
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSIndexedAccessType-BaseNode.type-type/TSIndexedAccessType/spec.ts:6

TSIndexSignature

Defined in: element/TSIndexSignature/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility---element/TSIndexSignature/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
parametersParameter[]---element/TSIndexSignature/spec.ts:10
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
readonlyboolean---element/TSIndexSignature/spec.ts:11
staticboolean---element/TSIndexSignature/spec.ts:12
typeTSIndexSignature-BaseNode.type-element/TSIndexSignature/spec.ts:8
typeAnnotationundefined | TSTypeAnnotation---element/TSIndexSignature/spec.ts:13

TSInferType

Defined in: type/TSInferType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSInferType-BaseNode.type-type/TSInferType/spec.ts:6
typeParameterTSTypeParameter---type/TSInferType/spec.ts:7

TSInstantiationExpression

Defined in: expression/TSInstantiationExpression/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression---expression/TSInstantiationExpression/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSInstantiationExpression-BaseNode.type-expression/TSInstantiationExpression/spec.ts:7
typeArgumentsTSTypeParameterInstantiation---expression/TSInstantiationExpression/spec.ts:9

TSInterfaceBody

Defined in: special/TSInterfaceBody/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTypeElement[]---special/TSInterfaceBody/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSInterfaceBody-BaseNode.type-special/TSInterfaceBody/spec.ts:6

TSInterfaceDeclaration

Defined in: declaration/TSInterfaceDeclaration/spec.ts:8

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTSInterfaceBodyThe body of the interface--declaration/TSInterfaceDeclaration/spec.ts:13
declarebooleanWhether the interface was declared--declaration/TSInterfaceDeclaration/spec.ts:17
extendsTSInterfaceHeritage[]The types this interface extends--declaration/TSInterfaceDeclaration/spec.ts:21
idIdentifierThe name of this interface--declaration/TSInterfaceDeclaration/spec.ts:25
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSInterfaceDeclaration-BaseNode.type-declaration/TSInterfaceDeclaration/spec.ts:9
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameters declared for the interface. Empty declaration (<>) is different from no declaration.--declaration/TSInterfaceDeclaration/spec.ts:30

TSInterfaceHeritage

Defined in: special/TSInterfaceHeritage/spec.ts:4

Extends

  • TSHeritageBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression--TSHeritageBase.expressionbase/TSHeritageBase.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSHeritageBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSHeritageBase.rangebase/NodeOrTokenData.ts:14
typeTSInterfaceHeritage-TSHeritageBase.type-special/TSInterfaceHeritage/spec.ts:5
typeArguments| undefined | TSTypeParameterInstantiation--TSHeritageBase.typeArgumentsbase/TSHeritageBase.ts:8

TSIntersectionType

Defined in: type/TSIntersectionType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSIntersectionType-BaseNode.type-type/TSIntersectionType/spec.ts:6
typesTypeNode[]---type/TSIntersectionType/spec.ts:7

TSIntrinsicKeyword

Defined in: type/TSIntrinsicKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSIntrinsicKeyword-BaseNode.type-type/TSIntrinsicKeyword/spec.ts:5

TSLiteralType

Defined in: type/TSLiteralType/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
literal| LiteralExpression | UnaryExpression | UpdateExpression---type/TSLiteralType/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSLiteralType-BaseNode.type-type/TSLiteralType/spec.ts:8

TSMappedType

Defined in: type/TSMappedType/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
constraintTypeNode---type/TSMappedType/spec.ts:9
keyIdentifier---type/TSMappedType/spec.ts:10
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
nameTypenull | TypeNode---type/TSMappedType/spec.ts:11
optionalundefined | boolean | "+" | "-"---type/TSMappedType/spec.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
readonlyundefined | boolean | "+" | "-"---type/TSMappedType/spec.ts:13
typeTSMappedType-BaseNode.type-type/TSMappedType/spec.ts:8
typeAnnotationundefined | TypeNode---type/TSMappedType/spec.ts:14
typeParameterTSTypeParameterDeprecated Use `constraint` and `key` instead.--type/TSMappedType/spec.ts:16

TSMethodSignatureComputedName

Defined in: element/TSMethodSignature/spec.ts:27

Extends

  • TSMethodSignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--TSMethodSignatureBase.accessibilityelement/TSMethodSignature/spec.ts:15
computedtrue-TSMethodSignatureBase.computed-element/TSMethodSignature/spec.ts:28
keyExpression-TSMethodSignatureBase.key-element/TSMethodSignature/spec.ts:29
kind"get" | "method" | "set"--TSMethodSignatureBase.kindelement/TSMethodSignature/spec.ts:18
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSMethodSignatureBase.locbase/NodeOrTokenData.ts:12
optionalboolean--TSMethodSignatureBase.optionalelement/TSMethodSignature/spec.ts:19
paramsParameter[]--TSMethodSignatureBase.paramselement/TSMethodSignature/spec.ts:20
rangeRange--TSMethodSignatureBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--TSMethodSignatureBase.readonlyelement/TSMethodSignature/spec.ts:21
returnTypeundefined | TSTypeAnnotation--TSMethodSignatureBase.returnTypeelement/TSMethodSignature/spec.ts:22
staticboolean--TSMethodSignatureBase.staticelement/TSMethodSignature/spec.ts:23
typeTSMethodSignature--TSMethodSignatureBase.typeelement/TSMethodSignature/spec.ts:14
typeParameters| undefined | TSTypeParameterDeclaration--TSMethodSignatureBase.typeParameterselement/TSMethodSignature/spec.ts:24

TSMethodSignatureNonComputedName

Defined in: element/TSMethodSignature/spec.ts:31

Extends

  • TSMethodSignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--TSMethodSignatureBase.accessibilityelement/TSMethodSignature/spec.ts:15
computedfalse-TSMethodSignatureBase.computed-element/TSMethodSignature/spec.ts:33
keyPropertyNameNonComputed-TSMethodSignatureBase.key-element/TSMethodSignature/spec.ts:34
kind"get" | "method" | "set"--TSMethodSignatureBase.kindelement/TSMethodSignature/spec.ts:18
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSMethodSignatureBase.locbase/NodeOrTokenData.ts:12
optionalboolean--TSMethodSignatureBase.optionalelement/TSMethodSignature/spec.ts:19
paramsParameter[]--TSMethodSignatureBase.paramselement/TSMethodSignature/spec.ts:20
rangeRange--TSMethodSignatureBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--TSMethodSignatureBase.readonlyelement/TSMethodSignature/spec.ts:21
returnTypeundefined | TSTypeAnnotation--TSMethodSignatureBase.returnTypeelement/TSMethodSignature/spec.ts:22
staticboolean--TSMethodSignatureBase.staticelement/TSMethodSignature/spec.ts:23
typeTSMethodSignature--TSMethodSignatureBase.typeelement/TSMethodSignature/spec.ts:14
typeParameters| undefined | TSTypeParameterDeclaration--TSMethodSignatureBase.typeParameterselement/TSMethodSignature/spec.ts:24

TSModuleBlock

Defined in: special/TSModuleBlock/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyProgramStatement[]---special/TSModuleBlock/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSModuleBlock-BaseNode.type-special/TSModuleBlock/spec.ts:6

TSModuleDeclarationGlobal

Defined in: declaration/TSModuleDeclaration/spec.ts:70

Extends

  • TSModuleDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTSModuleBlockThe body of the module. This can only be undefined for the code declare module 'mod';TSModuleDeclarationBase.body-declaration/TSModuleDeclaration/spec.ts:71
declarebooleanWhether the module is declared Example declare namespace F {}-TSModuleDeclarationBase.declaredeclaration/TSModuleDeclaration/spec.ts:25
globalbooleanWhether this is a global declaration Example declare global {} Deprecated Use kind instead-TSModuleDeclarationBase.globaldeclaration/TSModuleDeclaration/spec.ts:36
idIdentifierThis will always be an Identifier with name globalTSModuleDeclarationBase.id-declaration/TSModuleDeclaration/spec.ts:75
kind"global"The keyword used to define this module declaration Example namespace Foo {} ^^^^^^^^^ module 'foo' {} ^^^^^^ global {} ^^^^^^TSModuleDeclarationBase.kind-declaration/TSModuleDeclaration/spec.ts:76
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSModuleDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSModuleDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeTSModuleDeclaration--TSModuleDeclarationBase.typedeclaration/TSModuleDeclaration/spec.ts:12

TSModuleDeclarationModuleWithIdentifierId

Defined in: declaration/TSModuleDeclaration/spec.ts:116

The legacy module declaration, replaced with namespace declarations.

module A {}

Extends

  • TSModuleDeclarationModuleBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTSModuleBlockThe body of the module. This can only be undefined for the code declare module 'mod';TSModuleDeclarationModuleBase.body-declaration/TSModuleDeclaration/spec.ts:119
declarebooleanWhether the module is declared Example declare namespace F {}-TSModuleDeclarationModuleBase.declaredeclaration/TSModuleDeclaration/spec.ts:25
globalbooleanWhether this is a global declaration Example declare global {} Deprecated Use kind instead-TSModuleDeclarationModuleBase.globaldeclaration/TSModuleDeclaration/spec.ts:36
idIdentifierThe name of the module namespace A {} namespace A.B.C {} module 'a' {}TSModuleDeclarationModuleBase.id-declaration/TSModuleDeclaration/spec.ts:120
kind"module"-TSModuleDeclarationModuleBase.kind-declaration/TSModuleDeclaration/spec.ts:123
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSModuleDeclarationModuleBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSModuleDeclarationModuleBase.rangebase/NodeOrTokenData.ts:14
typeTSModuleDeclaration--TSModuleDeclarationModuleBase.typedeclaration/TSModuleDeclaration/spec.ts:12

TSModuleDeclarationModuleWithStringIdDeclared

Defined in: declaration/TSModuleDeclaration/spec.ts:103

A string module declaration that is declared:

declare module 'foo' {}
declare module 'foo';

Extends

  • TSModuleDeclarationModuleBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
body?TSModuleBlockThe body of the module. This can only be undefined for the code declare module 'mod';TSModuleDeclarationModuleBase.body-declaration/TSModuleDeclaration/spec.ts:105
declaretrueWhether the module is declared Example declare namespace F {}TSModuleDeclarationModuleBase.declare-declaration/TSModuleDeclaration/spec.ts:106
globalbooleanWhether this is a global declaration Example declare global {} Deprecated Use kind instead-TSModuleDeclarationModuleBase.globaldeclaration/TSModuleDeclaration/spec.ts:36
idStringLiteralThe name of the module namespace A {} namespace A.B.C {} module 'a' {}TSModuleDeclarationModuleBase.id-declaration/TSModuleDeclaration/spec.ts:107
kind"module"-TSModuleDeclarationModuleBase.kind-declaration/TSModuleDeclaration/spec.ts:108
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSModuleDeclarationModuleBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSModuleDeclarationModuleBase.rangebase/NodeOrTokenData.ts:14
typeTSModuleDeclaration--TSModuleDeclarationModuleBase.typedeclaration/TSModuleDeclaration/spec.ts:12

TSModuleDeclarationModuleWithStringIdNotDeclared

Defined in: declaration/TSModuleDeclaration/spec.ts:89

A string module declaration that is not declared:

module 'foo' {}

Extends

  • TSModuleDeclarationModuleBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTSModuleBlockThe body of the module. This can only be undefined for the code declare module 'mod';TSModuleDeclarationModuleBase.body-declaration/TSModuleDeclaration/spec.ts:91
declarefalseWhether the module is declared Example declare namespace F {}TSModuleDeclarationModuleBase.declare-declaration/TSModuleDeclaration/spec.ts:92
globalbooleanWhether this is a global declaration Example declare global {} Deprecated Use kind instead-TSModuleDeclarationModuleBase.globaldeclaration/TSModuleDeclaration/spec.ts:36
idStringLiteralThe name of the module namespace A {} namespace A.B.C {} module 'a' {}TSModuleDeclarationModuleBase.id-declaration/TSModuleDeclaration/spec.ts:93
kind"module"-TSModuleDeclarationModuleBase.kind-declaration/TSModuleDeclaration/spec.ts:94
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSModuleDeclarationModuleBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSModuleDeclarationModuleBase.rangebase/NodeOrTokenData.ts:14
typeTSModuleDeclaration--TSModuleDeclarationModuleBase.typedeclaration/TSModuleDeclaration/spec.ts:12

TSModuleDeclarationNamespace

Defined in: declaration/TSModuleDeclaration/spec.ts:64

Extends

  • TSModuleDeclarationBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyTSModuleBlockThe body of the module. This can only be undefined for the code declare module 'mod';TSModuleDeclarationBase.body-declaration/TSModuleDeclaration/spec.ts:65
declarebooleanWhether the module is declared Example declare namespace F {}-TSModuleDeclarationBase.declaredeclaration/TSModuleDeclaration/spec.ts:25
globalbooleanWhether this is a global declaration Example declare global {} Deprecated Use kind instead-TSModuleDeclarationBase.globaldeclaration/TSModuleDeclaration/spec.ts:36
id| TSQualifiedName | IdentifierThe name of the module namespace A {} namespace A.B.C {} module 'a' {}TSModuleDeclarationBase.id-declaration/TSModuleDeclaration/spec.ts:66
kind"namespace"The keyword used to define this module declaration Example namespace Foo {} ^^^^^^^^^ module 'foo' {} ^^^^^^ global {} ^^^^^^TSModuleDeclarationBase.kind-declaration/TSModuleDeclaration/spec.ts:67
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSModuleDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange--TSModuleDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeTSModuleDeclaration--TSModuleDeclarationBase.typedeclaration/TSModuleDeclaration/spec.ts:12

TSNamedTupleMember

Defined in: type/TSNamedTupleMember/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
elementTypeTypeNode---type/TSNamedTupleMember/spec.ts:8
labelIdentifier---type/TSNamedTupleMember/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
optionalboolean---type/TSNamedTupleMember/spec.ts:10
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSNamedTupleMember-BaseNode.type-type/TSNamedTupleMember/spec.ts:7

TSNamespaceExportDeclaration

Defined in: declaration/TSNamespaceExportDeclaration/spec.ts:11

For the following declaration:

export as namespace X;

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
idIdentifierThe name of the global variable that's exported as namespace--declaration/TSNamespaceExportDeclaration/spec.ts:16
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSNamespaceExportDeclaration-BaseNode.type-declaration/TSNamespaceExportDeclaration/spec.ts:12

TSNeverKeyword

Defined in: type/TSNeverKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSNeverKeyword-BaseNode.type-type/TSNeverKeyword/spec.ts:5

TSNonNullExpression

Defined in: expression/TSNonNullExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression---expression/TSNonNullExpression/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSNonNullExpression-BaseNode.type-expression/TSNonNullExpression/spec.ts:6

TSNullKeyword

Defined in: type/TSNullKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSNullKeyword-BaseNode.type-type/TSNullKeyword/spec.ts:5

TSNumberKeyword

Defined in: type/TSNumberKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSNumberKeyword-BaseNode.type-type/TSNumberKeyword/spec.ts:5

TSObjectKeyword

Defined in: type/TSObjectKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSObjectKeyword-BaseNode.type-type/TSObjectKeyword/spec.ts:5

TSOptionalType

Defined in: type/TSOptionalType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSOptionalType-BaseNode.type-type/TSOptionalType/spec.ts:6
typeAnnotationTypeNode---type/TSOptionalType/spec.ts:7

TSParameterProperty

Defined in: parameter/TSParameterProperty/spec.ts:9

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility---parameter/TSParameterProperty/spec.ts:11
decoratorsDecorator[]---parameter/TSParameterProperty/spec.ts:12
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
overrideboolean---parameter/TSParameterProperty/spec.ts:13
parameter| AssignmentPattern | RestElement | BindingName---parameter/TSParameterProperty/spec.ts:14
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
readonlyboolean---parameter/TSParameterProperty/spec.ts:15
staticboolean---parameter/TSParameterProperty/spec.ts:16
typeTSParameterProperty-BaseNode.type-parameter/TSParameterProperty/spec.ts:10

TSPrivateKeyword

Defined in: type/TSPrivateKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSPrivateKeyword-BaseNode.type-type/TSPrivateKeyword/spec.ts:5

TSPropertySignatureComputedName

Defined in: element/TSPropertySignature/spec.ts:22

Extends

  • TSPropertySignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--TSPropertySignatureBase.accessibilityelement/TSPropertySignature/spec.ts:13
computedtrue-TSPropertySignatureBase.computed-element/TSPropertySignature/spec.ts:24
keyExpression-TSPropertySignatureBase.key-element/TSPropertySignature/spec.ts:25
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSPropertySignatureBase.locbase/NodeOrTokenData.ts:12
optionalboolean--TSPropertySignatureBase.optionalelement/TSPropertySignature/spec.ts:16
rangeRange--TSPropertySignatureBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--TSPropertySignatureBase.readonlyelement/TSPropertySignature/spec.ts:17
staticboolean--TSPropertySignatureBase.staticelement/TSPropertySignature/spec.ts:18
typeTSPropertySignature--TSPropertySignatureBase.typeelement/TSPropertySignature/spec.ts:12
typeAnnotationundefined | TSTypeAnnotation--TSPropertySignatureBase.typeAnnotationelement/TSPropertySignature/spec.ts:19

TSPropertySignatureNonComputedName

Defined in: element/TSPropertySignature/spec.ts:28

Extends

  • TSPropertySignatureBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
accessibilityundefined | Accessibility--TSPropertySignatureBase.accessibilityelement/TSPropertySignature/spec.ts:13
computedfalse-TSPropertySignatureBase.computed-element/TSPropertySignature/spec.ts:30
keyPropertyNameNonComputed-TSPropertySignatureBase.key-element/TSPropertySignature/spec.ts:31
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-TSPropertySignatureBase.locbase/NodeOrTokenData.ts:12
optionalboolean--TSPropertySignatureBase.optionalelement/TSPropertySignature/spec.ts:16
rangeRange--TSPropertySignatureBase.rangebase/NodeOrTokenData.ts:14
readonlyboolean--TSPropertySignatureBase.readonlyelement/TSPropertySignature/spec.ts:17
staticboolean--TSPropertySignatureBase.staticelement/TSPropertySignature/spec.ts:18
typeTSPropertySignature--TSPropertySignatureBase.typeelement/TSPropertySignature/spec.ts:12
typeAnnotationundefined | TSTypeAnnotation--TSPropertySignatureBase.typeAnnotationelement/TSPropertySignature/spec.ts:19

TSProtectedKeyword

Defined in: type/TSProtectedKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSProtectedKeyword-BaseNode.type-type/TSProtectedKeyword/spec.ts:5

TSPublicKeyword

Defined in: type/TSPublicKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSPublicKeyword-BaseNode.type-type/TSPublicKeyword/spec.ts:5

TSQualifiedName

Defined in: type/TSQualifiedName/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
leftEntityName---type/TSQualifiedName/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
rightIdentifier---type/TSQualifiedName/spec.ts:9
typeTSQualifiedName-BaseNode.type-type/TSQualifiedName/spec.ts:7

TSReadonlyKeyword

Defined in: type/TSReadonlyKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSReadonlyKeyword-BaseNode.type-type/TSReadonlyKeyword/spec.ts:5

TSRestType

Defined in: type/TSRestType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSRestType-BaseNode.type-type/TSRestType/spec.ts:6
typeAnnotationTypeNode---type/TSRestType/spec.ts:7

TSSatisfiesExpression

Defined in: expression/TSSatisfiesExpression/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression---expression/TSSatisfiesExpression/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSSatisfiesExpression-BaseNode.type-expression/TSSatisfiesExpression/spec.ts:7
typeAnnotationTypeNode---expression/TSSatisfiesExpression/spec.ts:9

TSStaticKeyword

Defined in: type/TSStaticKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSStaticKeyword-BaseNode.type-type/TSStaticKeyword/spec.ts:5

TSStringKeyword

Defined in: type/TSStringKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSStringKeyword-BaseNode.type-type/TSStringKeyword/spec.ts:5

TSSymbolKeyword

Defined in: type/TSSymbolKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSSymbolKeyword-BaseNode.type-type/TSSymbolKeyword/spec.ts:5

TSTemplateLiteralType

Defined in: type/TSTemplateLiteralType/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
quasisTemplateElement[]---type/TSTemplateLiteralType/spec.ts:8
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTemplateLiteralType-BaseNode.type-type/TSTemplateLiteralType/spec.ts:7
typesTypeNode[]---type/TSTemplateLiteralType/spec.ts:9

TSThisType

Defined in: type/TSThisType/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSThisType-BaseNode.type-type/TSThisType/spec.ts:5

TSTupleType

Defined in: type/TSTupleType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
elementTypesTypeNode[]---type/TSTupleType/spec.ts:7
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTupleType-BaseNode.type-type/TSTupleType/spec.ts:6

TSTypeAliasDeclaration

Defined in: declaration/TSTypeAliasDeclaration/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
declarebooleanWhether the type was declared. Example declare type T = 1;--declaration/TSTypeAliasDeclaration/spec.ts:16
idIdentifierThe name of the type.--declaration/TSTypeAliasDeclaration/spec.ts:20
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeAliasDeclaration-BaseNode.type-declaration/TSTypeAliasDeclaration/spec.ts:8
typeAnnotationTypeNodeThe "value" (type) of the declaration--declaration/TSTypeAliasDeclaration/spec.ts:24
typeParameters| undefined | TSTypeParameterDeclarationThe generic type parameters declared for the type. Empty declaration (<>) is different from no declaration.--declaration/TSTypeAliasDeclaration/spec.ts:29

TSTypeAnnotation

Defined in: special/TSTypeAnnotation/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeAnnotation-BaseNode.type-special/TSTypeAnnotation/spec.ts:6
typeAnnotationTypeNode---special/TSTypeAnnotation/spec.ts:7

TSTypeAssertion

Defined in: expression/TSTypeAssertion/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
expressionExpression---expression/TSTypeAssertion/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeAssertion-BaseNode.type-expression/TSTypeAssertion/spec.ts:7
typeAnnotationTypeNode---expression/TSTypeAssertion/spec.ts:9

TSTypeLiteral

Defined in: type/TSTypeLiteral/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
membersTypeElement[]---type/TSTypeLiteral/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeLiteral-BaseNode.type-type/TSTypeLiteral/spec.ts:6

TSTypeOperator

Defined in: type/TSTypeOperator/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
operator"keyof" | "readonly" | "unique"---type/TSTypeOperator/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeOperator-BaseNode.type-type/TSTypeOperator/spec.ts:6
typeAnnotationundefined | TypeNode---type/TSTypeOperator/spec.ts:8

TSTypeParameter

Defined in: special/TSTypeParameter/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
constboolean---special/TSTypeParameter/spec.ts:8
constraintundefined | TypeNode---special/TSTypeParameter/spec.ts:9
defaultundefined | TypeNode---special/TSTypeParameter/spec.ts:10
inboolean---special/TSTypeParameter/spec.ts:11
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
nameIdentifier---special/TSTypeParameter/spec.ts:12
outboolean---special/TSTypeParameter/spec.ts:13
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeParameter-BaseNode.type-special/TSTypeParameter/spec.ts:7

TSTypeParameterDeclaration

Defined in: special/TSTypeParameterDeclaration/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
paramsTSTypeParameter[]---special/TSTypeParameterDeclaration/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeParameterDeclaration-BaseNode.type-special/TSTypeParameterDeclaration/spec.ts:6

TSTypeParameterInstantiation

Defined in: special/TSTypeParameterInstantiation/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
paramsTypeNode[]---special/TSTypeParameterInstantiation/spec.ts:7
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeParameterInstantiation-BaseNode.type-special/TSTypeParameterInstantiation/spec.ts:6

TSTypePredicate

Defined in: type/TSTypePredicate/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
assertsboolean---type/TSTypePredicate/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
parameterName| TSThisType | Identifier---type/TSTypePredicate/spec.ts:10
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypePredicate-BaseNode.type-type/TSTypePredicate/spec.ts:8
typeAnnotationnull | TSTypeAnnotation---type/TSTypePredicate/spec.ts:11

TSTypeQuery

Defined in: type/TSTypeQuery/spec.ts:7

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
exprName| TSImportType | EntityName---type/TSTypeQuery/spec.ts:9
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeQuery-BaseNode.type-type/TSTypeQuery/spec.ts:8
typeArguments| undefined | TSTypeParameterInstantiation---type/TSTypeQuery/spec.ts:10

TSTypeReference

Defined in: type/TSTypeReference/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSTypeReference-BaseNode.type-type/TSTypeReference/spec.ts:7
typeArguments| undefined | TSTypeParameterInstantiation---type/TSTypeReference/spec.ts:8
typeNameEntityName---type/TSTypeReference/spec.ts:9

TSUndefinedKeyword

Defined in: type/TSUndefinedKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSUndefinedKeyword-BaseNode.type-type/TSUndefinedKeyword/spec.ts:5

TSUnionType

Defined in: type/TSUnionType/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSUnionType-BaseNode.type-type/TSUnionType/spec.ts:6
typesTypeNode[]---type/TSUnionType/spec.ts:7

TSUnknownKeyword

Defined in: type/TSUnknownKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSUnknownKeyword-BaseNode.type-type/TSUnknownKeyword/spec.ts:5

TSVoidKeyword

Defined in: type/TSVoidKeyword/spec.ts:4

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeTSVoidKeyword-BaseNode.type-type/TSVoidKeyword/spec.ts:5

UnaryExpression

Defined in: expression/UnaryExpression/spec.ts:4

Extends

  • UnaryExpressionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentExpression--UnaryExpressionBase.argumentbase/UnaryExpressionBase.ts:5
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-UnaryExpressionBase.locbase/NodeOrTokenData.ts:12
operator"!" | "+" | "~" | "-" | "delete" | "typeof" | "void"-UnaryExpressionBase.operator-expression/UnaryExpression/spec.ts:6
prefixboolean--UnaryExpressionBase.prefixbase/UnaryExpressionBase.ts:7
rangeRange--UnaryExpressionBase.rangebase/NodeOrTokenData.ts:14
typeUnaryExpression-UnaryExpressionBase.type-expression/UnaryExpression/spec.ts:5

UpdateExpression

Defined in: expression/UpdateExpression/spec.ts:4

Extends

  • UnaryExpressionBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentExpression--UnaryExpressionBase.argumentbase/UnaryExpressionBase.ts:5
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-UnaryExpressionBase.locbase/NodeOrTokenData.ts:12
operator"++" | "--"-UnaryExpressionBase.operator-expression/UpdateExpression/spec.ts:6
prefixboolean--UnaryExpressionBase.prefixbase/UnaryExpressionBase.ts:7
rangeRange--UnaryExpressionBase.rangebase/NodeOrTokenData.ts:14
typeUpdateExpression-UnaryExpressionBase.type-expression/UpdateExpression/spec.ts:5

UsingInForOfDeclaration

Defined in: declaration/VariableDeclaration/spec.ts:124

Extends

  • UsingDeclarationBase

Properties

PropertyTypeDescriptionInherited fromDefined in
declarations[UsingInForOfDeclarator]The variables declared by this declaration. Always has exactly one element. Example for (using x of y) {}-declaration/VariableDeclaration/spec.ts:133
declarefalseThis value will always be false because 'declare' modifier cannot appear on a 'using' declaration.UsingDeclarationBase.declaredeclaration/VariableDeclaration/spec.ts:99
kind"await using" | "using"The keyword used to declare the variable(s) Example using x = 1; await using y = 2;UsingDeclarationBase.kinddeclaration/VariableDeclaration/spec.ts:108
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.UsingDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange-UsingDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclaration-UsingDeclarationBase.typedeclaration/VariableDeclaration/spec.ts:94

UsingInForOfDeclarator

Defined in: special/VariableDeclarator/spec.ts:58

Extends

  • VariableDeclaratorBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
definitefalseWhether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator.VariableDeclaratorBase.definite-special/VariableDeclarator/spec.ts:59
idIdentifierThe name(s) of the variable(s).VariableDeclaratorBase.id-special/VariableDeclarator/spec.ts:60
initnullThe initializer expression of the variable. Must be present for const unless in a declare const.VariableDeclaratorBase.init-special/VariableDeclarator/spec.ts:61
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-VariableDeclaratorBase.locbase/NodeOrTokenData.ts:12
rangeRange--VariableDeclaratorBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclarator--VariableDeclaratorBase.typespecial/VariableDeclarator/spec.ts:10

UsingInNormalContextDeclaration

Defined in: declaration/VariableDeclaration/spec.ts:111

Extends

  • UsingDeclarationBase

Properties

PropertyTypeDescriptionInherited fromDefined in
declarationsUsingInNormalContextDeclarator[]The variables declared by this declaration. Always non-empty. Example using x = 1; using y = 1, z = 2;-declaration/VariableDeclaration/spec.ts:121
declarefalseThis value will always be false because 'declare' modifier cannot appear on a 'using' declaration.UsingDeclarationBase.declaredeclaration/VariableDeclaration/spec.ts:99
kind"await using" | "using"The keyword used to declare the variable(s) Example using x = 1; await using y = 2;UsingDeclarationBase.kinddeclaration/VariableDeclaration/spec.ts:108
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.UsingDeclarationBase.locbase/NodeOrTokenData.ts:12
rangeRange-UsingDeclarationBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclaration-UsingDeclarationBase.typedeclaration/VariableDeclaration/spec.ts:94

UsingInNormalContextDeclarator

Defined in: special/VariableDeclarator/spec.ts:52

Extends

  • VariableDeclaratorBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
definitefalseWhether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator.VariableDeclaratorBase.definite-special/VariableDeclarator/spec.ts:53
idIdentifierThe name(s) of the variable(s).VariableDeclaratorBase.id-special/VariableDeclarator/spec.ts:54
initExpressionThe initializer expression of the variable. Must be present for const unless in a declare const.VariableDeclaratorBase.init-special/VariableDeclarator/spec.ts:55
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-VariableDeclaratorBase.locbase/NodeOrTokenData.ts:12
rangeRange--VariableDeclaratorBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclarator--VariableDeclaratorBase.typespecial/VariableDeclarator/spec.ts:10

VariableDeclaratorDefiniteAssignment

Defined in: special/VariableDeclarator/spec.ts:37

Extends

  • VariableDeclaratorBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
definitetrueWhether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator.VariableDeclaratorBase.definite-special/VariableDeclarator/spec.ts:39
idIdentifierThe name of the variable. Must have a type annotation.VariableDeclaratorBase.id-special/VariableDeclarator/spec.ts:43
initnullThe initializer expression of the variable. Must be present for const unless in a declare const.VariableDeclaratorBase.init-special/VariableDeclarator/spec.ts:44
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-VariableDeclaratorBase.locbase/NodeOrTokenData.ts:12
rangeRange--VariableDeclaratorBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclarator--VariableDeclaratorBase.typespecial/VariableDeclarator/spec.ts:10

VariableDeclaratorMaybeInit

Defined in: special/VariableDeclarator/spec.ts:33

Extends

  • VariableDeclaratorBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
definitefalseWhether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator.VariableDeclaratorBase.definite-special/VariableDeclarator/spec.ts:34
idBindingNameThe name(s) of the variable(s).-VariableDeclaratorBase.idspecial/VariableDeclarator/spec.ts:20
initnull | ExpressionThe initializer expression of the variable. Must be present for const unless in a declare const.-VariableDeclaratorBase.initspecial/VariableDeclarator/spec.ts:25
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-VariableDeclaratorBase.locbase/NodeOrTokenData.ts:12
rangeRange--VariableDeclaratorBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclarator--VariableDeclaratorBase.typespecial/VariableDeclarator/spec.ts:10

VariableDeclaratorNoInit

Defined in: special/VariableDeclarator/spec.ts:28

Extends

  • VariableDeclaratorBase

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
definitefalseWhether there's definite assignment assertion (let x!: number). If true, then: id must be an identifier with a type annotation, init must be null, and the declarator must be a var/let declarator.VariableDeclaratorBase.definite-special/VariableDeclarator/spec.ts:29
idBindingNameThe name(s) of the variable(s).-VariableDeclaratorBase.idspecial/VariableDeclarator/spec.ts:20
initnullThe initializer expression of the variable. Must be present for const unless in a declare const.VariableDeclaratorBase.init-special/VariableDeclarator/spec.ts:30
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-VariableDeclaratorBase.locbase/NodeOrTokenData.ts:12
rangeRange--VariableDeclaratorBase.rangebase/NodeOrTokenData.ts:14
typeVariableDeclarator--VariableDeclaratorBase.typespecial/VariableDeclarator/spec.ts:10

WhileStatement

Defined in: statement/WhileStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement---statement/WhileStatement/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
testExpression---statement/WhileStatement/spec.ts:9
typeWhileStatement-BaseNode.type-statement/WhileStatement/spec.ts:7

WithStatement

Defined in: statement/WithStatement/spec.ts:6

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
bodyStatement---statement/WithStatement/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
objectExpression---statement/WithStatement/spec.ts:9
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeWithStatement-BaseNode.type-statement/WithStatement/spec.ts:7

YieldExpression

Defined in: expression/YieldExpression/spec.ts:5

Extends

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
argumentundefined | Expression---expression/YieldExpression/spec.ts:7
delegateboolean---expression/YieldExpression/spec.ts:8
locSourceLocationThe source location information of the node. The loc property is defined as nullable by ESTree, but ESLint requires this property.-BaseNode.locbase/NodeOrTokenData.ts:12
rangeRange--BaseNode.rangebase/NodeOrTokenData.ts:14
typeYieldExpression-BaseNode.type-expression/YieldExpression/spec.ts:6

Type Aliases

Accessibility

type Accessibility = "private" | "protected" | "public";

Defined in: base/Accessibility.ts:1


AccessorProperty

type AccessorProperty = 
| AccessorPropertyComputedName
| AccessorPropertyNonComputedName;

Defined in: element/AccessorProperty/spec.ts:17


BindingName

type BindingName = 
| BindingPattern
| Identifier;

Defined in: unions/BindingName.ts:4


BindingPattern

type BindingPattern = 
| ArrayPattern
| ObjectPattern;

Defined in: unions/BindingPattern.ts:4


CallExpressionArgument

type CallExpressionArgument = 
| Expression
| SpreadElement;

Defined in: unions/CallExpressionArgument.ts:4


ChainElement

type ChainElement = 
| CallExpression
| MemberExpression
| TSNonNullExpression;

Defined in: unions/ChainElement.ts:5


ClassDeclaration

type ClassDeclaration = 
| ClassDeclarationWithName
| ClassDeclarationWithOptionalName;

Defined in: declaration/ClassDeclaration/spec.ts:29


ClassElement

type ClassElement = 
| AccessorProperty
| MethodDefinition
| PropertyDefinition
| StaticBlock
| TSAbstractAccessorProperty
| TSAbstractMethodDefinition
| TSAbstractPropertyDefinition
| TSIndexSignature;

Defined in: unions/ClassElement.ts:10


ClassPropertyNameNonComputed

type ClassPropertyNameNonComputed = 
| PrivateIdentifier
| PropertyNameNonComputed;

Defined in: unions/PropertyName.ts:16


Comment

type Comment = 
| BlockComment
| LineComment;

Defined in: unions/Comment.ts:4


DeclarationStatement

type DeclarationStatement = 
| ClassDeclaration
| ClassExpression
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| FunctionDeclaration
| TSDeclareFunction
| TSEnumDeclaration
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSNamespaceExportDeclaration
| TSTypeAliasDeclaration;

Defined in: unions/DeclarationStatement.ts:20

Deprecated

Note that this is neither up to date nor fully correct.


DefaultExportDeclarations

type DefaultExportDeclarations = 
| ClassDeclarationWithOptionalName
| Expression
| FunctionDeclarationWithName
| FunctionDeclarationWithOptionalName
| TSDeclareFunction
| TSEnumDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration;

Defined in: unions/ExportDeclaration.ts:20


DestructuringPattern

type DestructuringPattern = 
| ArrayPattern
| AssignmentPattern
| Identifier
| MemberExpression
| ObjectPattern
| RestElement;

Defined in: unions/DestructuringPattern.ts:8


EntityName

type EntityName = 
| Identifier
| ThisExpression
| TSQualifiedName;

Defined in: unions/EntityName.ts:5


ExportDeclaration

type ExportDeclaration = 
| DefaultExportDeclarations
| NamedExportDeclarations;

Defined in: unions/ExportDeclaration.ts:48


ExportNamedDeclaration

type ExportNamedDeclaration = 
| ExportNamedDeclarationWithoutSourceWithMultiple
| ExportNamedDeclarationWithoutSourceWithSingle
| ExportNamedDeclarationWithSource;

Defined in: declaration/ExportNamedDeclaration/spec.ts:126


ExportNamedDeclarationWithoutSource

type ExportNamedDeclarationWithoutSource = 
| ExportNamedDeclarationWithoutSourceWithMultiple
| ExportNamedDeclarationWithoutSourceWithSingle;

Defined in: declaration/ExportNamedDeclaration/spec.ts:122


ExportSpecifier

type ExportSpecifier = 
| ExportSpecifierWithIdentifierLocal
| ExportSpecifierWithStringOrLiteralLocal;

Defined in: special/ExportSpecifier/spec.ts:24


Expression

type Expression = 
| ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| AssignmentExpression
| AwaitExpression
| BinaryExpression
| CallExpression
| ChainExpression
| ClassExpression
| ConditionalExpression
| FunctionExpression
| Identifier
| ImportExpression
| JSXElement
| JSXFragment
| LiteralExpression
| LogicalExpression
| MemberExpression
| MetaProperty
| NewExpression
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| TemplateLiteral
| ThisExpression
| TSAsExpression
| TSInstantiationExpression
| TSNonNullExpression
| TSSatisfiesExpression
| TSTypeAssertion
| UnaryExpression
| UpdateExpression
| YieldExpression;

Defined in: unions/Expression.ts:45


ForInitialiser

type ForInitialiser = 
| Expression
| LetOrConstOrVarDeclaration;

Defined in: unions/ForInitialiser.ts:4


FunctionDeclaration

type FunctionDeclaration = 
| FunctionDeclarationWithName
| FunctionDeclarationWithOptionalName;

Defined in: declaration/FunctionDeclaration/spec.ts:34


FunctionLike

type FunctionLike = 
| ArrowFunctionExpression
| FunctionDeclaration
| FunctionExpression
| TSDeclareFunction
| TSEmptyBodyFunctionExpression;

Defined in: unions/FunctionLike.ts:7


ImportClause

type ImportClause = 
| ImportDefaultSpecifier
| ImportNamespaceSpecifier
| ImportSpecifier;

Defined in: unions/ImportClause.ts:5


IterationStatement

type IterationStatement = 
| DoWhileStatement
| ForInStatement
| ForOfStatement
| ForStatement
| WhileStatement;

Defined in: unions/IterationStatement.ts:7


JSXChild

type JSXChild = 
| JSXElement
| JSXExpression
| JSXFragment
| JSXText;

Defined in: unions/JSXChild.ts:6


JSXExpression

type JSXExpression = 
| JSXExpressionContainer
| JSXSpreadChild;

Defined in: unions/JSXExpression.ts:4


JSXTagNameExpression

type JSXTagNameExpression = 
| JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName;

Defined in: unions/JSXTagNameExpression.ts:5


LeftHandSideExpression

type LeftHandSideExpression = 
| ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| CallExpression
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| LiteralExpression
| MemberExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| SequenceExpression
| Super
| TaggedTemplateExpression
| ThisExpression
| TSAsExpression
| TSNonNullExpression
| TSTypeAssertion;

Defined in: unions/LeftHandSideExpression.ts:23


LetOrConstOrVarDeclaration

type LetOrConstOrVarDeclaration = 
| ConstDeclaration
| LetOrVarDeclaredDeclaration
| LetOrVarNonDeclaredDeclaration;

Defined in: declaration/VariableDeclaration/spec.ts:88


LetOrConstOrVarDeclarator

type LetOrConstOrVarDeclarator = 
| VariableDeclaratorDefiniteAssignment
| VariableDeclaratorMaybeInit
| VariableDeclaratorNoInit;

Defined in: special/VariableDeclarator/spec.ts:47


Literal

type Literal = 
| BigIntLiteral
| BooleanLiteral
| NullLiteral
| NumberLiteral
| RegExpLiteral
| StringLiteral;

Defined in: unions/Literal.ts:8


LiteralExpression

type LiteralExpression = 
| Literal
| TemplateLiteral;

Defined in: unions/LiteralExpression.ts:4


MemberExpression

type MemberExpression = 
| MemberExpressionComputedName
| MemberExpressionNonComputedName;

Defined in: expression/MemberExpression/spec.ts:26


MethodDefinition

type MethodDefinition = 
| MethodDefinitionComputedName
| MethodDefinitionNonComputedName;

Defined in: element/MethodDefinition/spec.ts:17


NamedExportDeclarations

type NamedExportDeclarations = 
| ClassDeclarationWithName
| ClassDeclarationWithOptionalName
| FunctionDeclarationWithName
| FunctionDeclarationWithOptionalName
| TSDeclareFunction
| TSEnumDeclaration
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration;

Defined in: unions/ExportDeclaration.ts:34


Node

type Node = 
| AccessorProperty
| ArrayExpression
| ArrayPattern
| ArrowFunctionExpression
| AssignmentExpression
| AssignmentPattern
| AwaitExpression
| BinaryExpression
| BlockStatement
| BreakStatement
| CallExpression
| CatchClause
| ChainExpression
| ClassBody
| ClassDeclaration
| ClassExpression
| ConditionalExpression
| ContinueStatement
| DebuggerStatement
| Decorator
| DoWhileStatement
| EmptyStatement
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ExportSpecifier
| ExpressionStatement
| ForInStatement
| ForOfStatement
| ForStatement
| FunctionDeclaration
| FunctionExpression
| Identifier
| IfStatement
| ImportAttribute
| ImportDeclaration
| ImportDefaultSpecifier
| ImportExpression
| ImportNamespaceSpecifier
| ImportSpecifier
| JSXAttribute
| JSXClosingElement
| JSXClosingFragment
| JSXElement
| JSXEmptyExpression
| JSXExpressionContainer
| JSXFragment
| JSXIdentifier
| JSXMemberExpression
| JSXNamespacedName
| JSXOpeningElement
| JSXOpeningFragment
| JSXSpreadAttribute
| JSXSpreadChild
| JSXText
| LabeledStatement
| Literal
| LogicalExpression
| MemberExpression
| MetaProperty
| MethodDefinition
| NewExpression
| ObjectExpression
| ObjectPattern
| PrivateIdentifier
| Program
| Property
| PropertyDefinition
| RestElement
| ReturnStatement
| SequenceExpression
| SpreadElement
| StaticBlock
| Super
| SwitchCase
| SwitchStatement
| TaggedTemplateExpression
| TemplateElement
| TemplateLiteral
| ThisExpression
| ThrowStatement
| TryStatement
| TSAbstractAccessorProperty
| TSAbstractKeyword
| TSAbstractMethodDefinition
| TSAbstractPropertyDefinition
| TSAnyKeyword
| TSArrayType
| TSAsExpression
| TSAsyncKeyword
| TSBigIntKeyword
| TSBooleanKeyword
| TSCallSignatureDeclaration
| TSClassImplements
| TSConditionalType
| TSConstructorType
| TSConstructSignatureDeclaration
| TSDeclareFunction
| TSDeclareKeyword
| TSEmptyBodyFunctionExpression
| TSEnumBody
| TSEnumDeclaration
| TSEnumMember
| TSExportAssignment
| TSExportKeyword
| TSExternalModuleReference
| TSFunctionType
| TSImportEqualsDeclaration
| TSImportType
| TSIndexedAccessType
| TSIndexSignature
| TSInferType
| TSInstantiationExpression
| TSInterfaceBody
| TSInterfaceDeclaration
| TSInterfaceHeritage
| TSIntersectionType
| TSIntrinsicKeyword
| TSLiteralType
| TSMappedType
| TSMethodSignature
| TSModuleBlock
| TSModuleDeclaration
| TSNamedTupleMember
| TSNamespaceExportDeclaration
| TSNeverKeyword
| TSNonNullExpression
| TSNullKeyword
| TSNumberKeyword
| TSObjectKeyword
| TSOptionalType
| TSParameterProperty
| TSPrivateKeyword
| TSPropertySignature
| TSProtectedKeyword
| TSPublicKeyword
| TSQualifiedName
| TSReadonlyKeyword
| TSRestType
| TSSatisfiesExpression
| TSStaticKeyword
| TSStringKeyword
| TSSymbolKeyword
| TSTemplateLiteralType
| TSThisType
| TSTupleType
| TSTypeAliasDeclaration
| TSTypeAnnotation
| TSTypeAssertion
| TSTypeLiteral
| TSTypeOperator
| TSTypeParameter
| TSTypeParameterDeclaration
| TSTypeParameterInstantiation
| TSTypePredicate
| TSTypeQuery
| TSTypeReference
| TSUndefinedKeyword
| TSUnionType
| TSUnknownKeyword
| TSVoidKeyword
| UnaryExpression
| UpdateExpression
| VariableDeclaration
| VariableDeclarator
| WhileStatement
| WithStatement
| YieldExpression;

Defined in: unions/Node.ts:175


ObjectLiteralElement

type ObjectLiteralElement = 
| Property
| SpreadElement;

Defined in: unions/ObjectLiteralElement.ts:4


ObjectLiteralElementLike

type ObjectLiteralElementLike = ObjectLiteralElement;

Defined in: unions/ObjectLiteralElement.ts:7


OptionalRangeAndLoc<T>

type OptionalRangeAndLoc<T> = object & Pick<T, Exclude<keyof T, "loc" | "range">>;

Defined in: base/OptionalRangeAndLoc.ts:5

Type declaration

NameTypeDefined in
loc?SourceLocationbase/OptionalRangeAndLoc.ts:6
range?Rangebase/OptionalRangeAndLoc.ts:7

Type Parameters

Type Parameter
T

Parameter

type Parameter = 
| ArrayPattern
| AssignmentPattern
| Identifier
| ObjectPattern
| RestElement
| TSParameterProperty;

Defined in: unions/Parameter.ts:8


PrimaryExpression

type PrimaryExpression = 
| ArrayExpression
| ArrayPattern
| ClassExpression
| FunctionExpression
| Identifier
| JSXElement
| JSXFragment
| JSXOpeningElement
| LiteralExpression
| MetaProperty
| ObjectExpression
| ObjectPattern
| Super
| TemplateLiteral
| ThisExpression
| TSNullKeyword;

Defined in: unions/PrimaryExpression.ts:19


ProgramStatement

type ProgramStatement = 
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ImportDeclaration
| Statement
| TSImportEqualsDeclaration
| TSNamespaceExportDeclaration;

Defined in: unions/Statement.ts:71


Property

type Property = 
| PropertyComputedName
| PropertyNonComputedName;

Defined in: element/Property/spec.ts:37


PropertyDefinition

type PropertyDefinition = 
| PropertyDefinitionComputedName
| PropertyDefinitionNonComputedName;

Defined in: element/PropertyDefinition/spec.ts:17


PropertyName

type PropertyName = 
| ClassPropertyNameNonComputed
| PropertyNameComputed
| PropertyNameNonComputed;

Defined in: unions/PropertyName.ts:7


PropertyNameComputed

type PropertyNameComputed = Expression;

Defined in: unions/PropertyName.ts:11


PropertyNameNonComputed

type PropertyNameNonComputed = 
| Identifier
| NumberLiteral
| StringLiteral;

Defined in: unions/PropertyName.ts:12


Range

type Range = [number, number];

Defined in: base/Range.ts:6

An array of two numbers. Both numbers are a 0-based index which is the position in the array of source code characters. The first is the start position of the node, the second is the end position of the node.


Statement

type Statement = 
| BlockStatement
| BreakStatement
| ClassDeclarationWithName
| ContinueStatement
| DebuggerStatement
| DoWhileStatement
| EmptyStatement
| ExportAllDeclaration
| ExportDefaultDeclaration
| ExportNamedDeclaration
| ExpressionStatement
| ForInStatement
| ForOfStatement
| ForStatement
| FunctionDeclarationWithName
| IfStatement
| ImportDeclaration
| LabeledStatement
| ReturnStatement
| SwitchStatement
| ThrowStatement
| TryStatement
| TSDeclareFunction
| TSEnumDeclaration
| TSExportAssignment
| TSImportEqualsDeclaration
| TSInterfaceDeclaration
| TSModuleDeclaration
| TSNamespaceExportDeclaration
| TSTypeAliasDeclaration
| VariableDeclaration
| WhileStatement
| WithStatement;

Defined in: unions/Statement.ts:35


Token

type Token = 
| BooleanToken
| Comment
| IdentifierToken
| JSXIdentifierToken
| JSXTextToken
| KeywordToken
| NullToken
| NumericToken
| PunctuatorToken
| RegularExpressionToken
| StringToken
| TemplateToken;

Defined in: unions/Token.ts:14


TSAbstractAccessorProperty

type TSAbstractAccessorProperty = 
| TSAbstractAccessorPropertyComputedName
| TSAbstractAccessorPropertyNonComputedName;

Defined in: element/TSAbstractAccessorProperty/spec.ts:20


TSAbstractMethodDefinition

type TSAbstractMethodDefinition = 
| TSAbstractMethodDefinitionComputedName
| TSAbstractMethodDefinitionNonComputedName;

Defined in: element/TSAbstractMethodDefinition/spec.ts:18


TSAbstractPropertyDefinition

type TSAbstractPropertyDefinition = 
| TSAbstractPropertyDefinitionComputedName
| TSAbstractPropertyDefinitionNonComputedName;

Defined in: element/TSAbstractPropertyDefinition/spec.ts:20


TSDeclareFunction

type TSDeclareFunction = 
| TSDeclareFunctionNoDeclare
| TSDeclareFunctionWithDeclare;

Defined in: declaration/TSDeclareFunction/spec.ts:53


TSEnumMember

type TSEnumMember = 
| TSEnumMemberComputedName
| TSEnumMemberNonComputedName;

Defined in: element/TSEnumMember/spec.ts:42


TSImportEqualsDeclaration

type TSImportEqualsDeclaration = 
| TSImportEqualsNamespaceDeclaration
| TSImportEqualsRequireDeclaration;

Defined in: declaration/TSImportEqualsDeclaration/spec.ts:62


TSMethodSignature

type TSMethodSignature = 
| TSMethodSignatureComputedName
| TSMethodSignatureNonComputedName;

Defined in: element/TSMethodSignature/spec.ts:37


TSModuleDeclaration

type TSModuleDeclaration = 
| TSModuleDeclarationGlobal
| TSModuleDeclarationModule
| TSModuleDeclarationNamespace;

Defined in: declaration/TSModuleDeclaration/spec.ts:132


TSModuleDeclarationKind

type TSModuleDeclarationKind = "global" | "module" | "namespace";

Defined in: declaration/TSModuleDeclaration/spec.ts:9


TSModuleDeclarationModule

type TSModuleDeclarationModule = 
| TSModuleDeclarationModuleWithIdentifierId
| TSModuleDeclarationModuleWithStringId;

Defined in: declaration/TSModuleDeclaration/spec.ts:129


TSModuleDeclarationModuleWithStringId

type TSModuleDeclarationModuleWithStringId = 
| TSModuleDeclarationModuleWithStringIdDeclared
| TSModuleDeclarationModuleWithStringIdNotDeclared;

Defined in: declaration/TSModuleDeclaration/spec.ts:126


TSPropertySignature

type TSPropertySignature = 
| TSPropertySignatureComputedName
| TSPropertySignatureNonComputedName;

Defined in: element/TSPropertySignature/spec.ts:34


TSUnaryExpression

type TSUnaryExpression = 
| AwaitExpression
| LeftHandSideExpression
| UnaryExpression
| UpdateExpression;

Defined in: unions/TSUnaryExpression.ts:7


TypeElement

type TypeElement = 
| TSCallSignatureDeclaration
| TSConstructSignatureDeclaration
| TSIndexSignature
| TSMethodSignature
| TSPropertySignature;

Defined in: unions/TypeElement.ts:7


TypeNode

type TypeNode = 
| TSAbstractKeyword
| TSAnyKeyword
| TSArrayType
| TSAsyncKeyword
| TSBigIntKeyword
| TSBooleanKeyword
| TSConditionalType
| TSConstructorType
| TSDeclareKeyword
| TSExportKeyword
| TSFunctionType
| TSImportType
| TSIndexedAccessType
| TSInferType
| TSIntersectionType
| TSIntrinsicKeyword
| TSLiteralType
| TSMappedType
| TSNamedTupleMember
| TSNeverKeyword
| TSNullKeyword
| TSNumberKeyword
| TSObjectKeyword
| TSOptionalType
| TSPrivateKeyword
| TSProtectedKeyword
| TSPublicKeyword
| TSQualifiedName
| TSReadonlyKeyword
| TSRestType
| TSStaticKeyword
| TSStringKeyword
| TSSymbolKeyword
| TSTemplateLiteralType
| TSThisType
| TSTupleType
| TSTypeLiteral
| TSTypeOperator
| TSTypePredicate
| TSTypeQuery
| TSTypeReference
| TSUndefinedKeyword
| TSUnionType
| TSUnknownKeyword
| TSVoidKeyword;

Defined in: unions/TypeNode.ts:47


UsingDeclaration

type UsingDeclaration = 
| UsingInForOfDeclaration
| UsingInNormalContextDeclaration;

Defined in: declaration/VariableDeclaration/spec.ts:136


UsingDeclarator

type UsingDeclarator = 
| UsingInForOfDeclarator
| UsingInNormalContextDeclarator;

Defined in: special/VariableDeclarator/spec.ts:64


VariableDeclaration

type VariableDeclaration = 
| LetOrConstOrVarDeclaration
| UsingDeclaration;

Defined in: declaration/VariableDeclaration/spec.ts:140


VariableDeclarator

type VariableDeclarator = 
| LetOrConstOrVarDeclarator
| UsingDeclarator;

Defined in: special/VariableDeclarator/spec.ts:68