xo 0.52.2 → 0.52.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/lib/options-manager.js +4 -3
  2. package/node_modules/@typescript-eslint/eslint-plugin/README.md +1 -1
  3. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +1 -1
  4. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  5. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +2 -0
  6. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  7. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +5 -5
  8. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  9. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +68 -164
  10. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +9 -0
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +1 -0
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -1
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +1 -0
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +3 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +2 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +3 -3
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +1 -11
  24. package/node_modules/@typescript-eslint/eslint-plugin/package.json +5 -5
  25. package/node_modules/@typescript-eslint/parser/README.md +1 -1
  26. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
  27. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +20 -0
  28. package/node_modules/@typescript-eslint/parser/package.json +5 -5
  29. package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
  30. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  31. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  32. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +0 -3
  33. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  34. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +8 -23
  35. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  36. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  37. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -3
  38. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  39. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -1
  40. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
  41. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
  42. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
  43. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
  44. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +3 -1
  45. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -1
  46. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
  47. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
  48. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
  49. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
  50. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +2 -0
  51. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  52. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +4 -0
  53. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  54. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  55. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +7 -6
  56. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  57. package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
  58. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +8 -0
  59. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getConstrainedTypeAtLocation.d.ts +6 -0
  60. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getContextualType.d.ts +8 -0
  61. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getDeclaration.d.ts +6 -0
  62. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getSourceFileOfNode.d.ts +6 -0
  63. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTokenAtPosition.d.ts +3 -0
  64. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeArguments.d.ts +3 -0
  65. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeName.d.ts +8 -0
  66. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/index.d.ts +16 -0
  67. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isTypeReadonly.d.ts +20 -0
  68. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isUnsafeAssignment.d.ts +17 -0
  69. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/predicates.d.ts +52 -0
  70. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/propertyTypes.d.ts +4 -0
  71. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/requiresQuoting.d.ts +4 -0
  72. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/typeFlagUtils.d.ts +11 -0
  73. package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +1 -0
  74. package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +1 -1
  75. package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -0
  76. package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
  77. package/node_modules/@typescript-eslint/type-utils/package.json +5 -4
  78. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +1732 -0
  79. package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +5 -0
  80. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +3 -0
  81. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +36 -0
  82. package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +9 -0
  83. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +2 -2
  84. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
  85. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  86. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  87. package/node_modules/@typescript-eslint/types/package.json +2 -2
  88. package/node_modules/@typescript-eslint/typescript-estree/README.md +1 -1
  89. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +9 -0
  90. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +11 -0
  91. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +159 -0
  92. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
  93. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +12 -0
  94. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +9 -0
  95. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +11 -0
  96. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +5 -0
  97. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +19 -0
  98. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +5 -0
  99. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +22 -0
  100. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +13 -0
  101. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/getModifiers.d.ts +4 -0
  102. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +12 -0
  103. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +2 -0
  104. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +230 -0
  105. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +188 -0
  106. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +25 -0
  107. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +13 -0
  108. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +9 -0
  109. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
  110. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +4 -0
  111. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +18 -0
  112. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +3 -0
  113. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +3 -1
  114. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  115. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +67 -28
  116. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  117. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +4 -0
  118. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -0
  119. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +68 -0
  120. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
  121. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +2 -0
  122. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  123. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +4 -1
  124. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  125. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  126. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +11 -9
  127. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  128. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +1 -1
  129. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
  130. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -1
  131. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +8 -1
  132. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  133. package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -5
  134. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
  135. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
  136. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
  137. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
  138. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
  139. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
  140. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +1153 -0
  141. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/index.d.ts +5 -0
  142. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
  143. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +58 -0
  144. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
  145. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +35 -0
  146. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
  147. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
  148. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
  149. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
  150. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
  151. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +9 -0
  152. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/nullThrows.d.ts +14 -0
  153. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/index.d.ts +8 -0
  154. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/json-schema.d.ts +2 -0
  155. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
  156. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +137 -0
  157. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ESLint.d.ts +376 -0
  158. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
  159. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
  160. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +393 -0
  161. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +154 -0
  162. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
  163. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +342 -0
  164. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
  165. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Definition.d.ts +19 -0
  166. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
  167. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
  168. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +28 -0
  169. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
  170. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
  171. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
  172. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
  173. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
  174. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
  175. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-estree.d.ts +3 -0
  176. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +1131 -25
  177. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  178. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
  179. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +15 -137
  180. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  181. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
  182. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js +1 -0
  183. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js.map +1 -1
  184. package/node_modules/@typescript-eslint/utils/package.json +5 -5
  185. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +4 -0
  186. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +3 -0
  187. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +6 -0
  188. package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
  189. package/package.json +1 -1
@@ -0,0 +1,1153 @@
1
+ import { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree } from '../ts-estree';
2
+ export declare const isNodeOfType: <NodeType extends AST_NODE_TYPES>(nodeType: NodeType) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.ArrayExpression, {
3
+ type: NodeType;
4
+ }> | Extract<TSESTree.ArrayPattern, {
5
+ type: NodeType;
6
+ }> | Extract<TSESTree.ArrowFunctionExpression, {
7
+ type: NodeType;
8
+ }> | Extract<TSESTree.AssignmentExpression, {
9
+ type: NodeType;
10
+ }> | Extract<TSESTree.AssignmentPattern, {
11
+ type: NodeType;
12
+ }> | Extract<TSESTree.AwaitExpression, {
13
+ type: NodeType;
14
+ }> | Extract<TSESTree.BinaryExpression, {
15
+ type: NodeType;
16
+ }> | Extract<TSESTree.BlockStatement, {
17
+ type: NodeType;
18
+ }> | Extract<TSESTree.BreakStatement, {
19
+ type: NodeType;
20
+ }> | Extract<TSESTree.CallExpression, {
21
+ type: NodeType;
22
+ }> | Extract<TSESTree.CatchClause, {
23
+ type: NodeType;
24
+ }> | Extract<TSESTree.ChainExpression, {
25
+ type: NodeType;
26
+ }> | Extract<TSESTree.ClassBody, {
27
+ type: NodeType;
28
+ }> | Extract<TSESTree.ClassDeclarationWithName, {
29
+ type: NodeType;
30
+ }> | Extract<TSESTree.ClassDeclarationWithOptionalName, {
31
+ type: NodeType;
32
+ }> | Extract<TSESTree.ClassExpression, {
33
+ type: NodeType;
34
+ }> | Extract<TSESTree.ConditionalExpression, {
35
+ type: NodeType;
36
+ }> | Extract<TSESTree.ContinueStatement, {
37
+ type: NodeType;
38
+ }> | Extract<TSESTree.DebuggerStatement, {
39
+ type: NodeType;
40
+ }> | Extract<TSESTree.Decorator, {
41
+ type: NodeType;
42
+ }> | Extract<TSESTree.DoWhileStatement, {
43
+ type: NodeType;
44
+ }> | Extract<TSESTree.EmptyStatement, {
45
+ type: NodeType;
46
+ }> | Extract<TSESTree.ExportAllDeclaration, {
47
+ type: NodeType;
48
+ }> | Extract<TSESTree.ExportDefaultDeclaration, {
49
+ type: NodeType;
50
+ }> | Extract<TSESTree.ExportNamedDeclarationWithoutSourceWithMultiple, {
51
+ type: NodeType;
52
+ }> | Extract<TSESTree.ExportNamedDeclarationWithoutSourceWithSingle, {
53
+ type: NodeType;
54
+ }> | Extract<TSESTree.ExportNamedDeclarationWithSource, {
55
+ type: NodeType;
56
+ }> | Extract<TSESTree.ExportSpecifier, {
57
+ type: NodeType;
58
+ }> | Extract<TSESTree.ExpressionStatement, {
59
+ type: NodeType;
60
+ }> | Extract<TSESTree.ForInStatement, {
61
+ type: NodeType;
62
+ }> | Extract<TSESTree.ForOfStatement, {
63
+ type: NodeType;
64
+ }> | Extract<TSESTree.ForStatement, {
65
+ type: NodeType;
66
+ }> | Extract<TSESTree.FunctionDeclarationWithName, {
67
+ type: NodeType;
68
+ }> | Extract<TSESTree.FunctionDeclarationWithOptionalName, {
69
+ type: NodeType;
70
+ }> | Extract<TSESTree.FunctionExpression, {
71
+ type: NodeType;
72
+ }> | Extract<TSESTree.Identifier, {
73
+ type: NodeType;
74
+ }> | Extract<TSESTree.IfStatement, {
75
+ type: NodeType;
76
+ }> | Extract<TSESTree.ImportAttribute, {
77
+ type: NodeType;
78
+ }> | Extract<TSESTree.ImportDeclaration, {
79
+ type: NodeType;
80
+ }> | Extract<TSESTree.ImportDefaultSpecifier, {
81
+ type: NodeType;
82
+ }> | Extract<TSESTree.ImportExpression, {
83
+ type: NodeType;
84
+ }> | Extract<TSESTree.ImportNamespaceSpecifier, {
85
+ type: NodeType;
86
+ }> | Extract<TSESTree.ImportSpecifier, {
87
+ type: NodeType;
88
+ }> | Extract<TSESTree.JSXAttribute, {
89
+ type: NodeType;
90
+ }> | Extract<TSESTree.JSXClosingElement, {
91
+ type: NodeType;
92
+ }> | Extract<TSESTree.JSXClosingFragment, {
93
+ type: NodeType;
94
+ }> | Extract<TSESTree.JSXElement, {
95
+ type: NodeType;
96
+ }> | Extract<TSESTree.JSXEmptyExpression, {
97
+ type: NodeType;
98
+ }> | Extract<TSESTree.JSXExpressionContainer, {
99
+ type: NodeType;
100
+ }> | Extract<TSESTree.JSXFragment, {
101
+ type: NodeType;
102
+ }> | Extract<TSESTree.JSXIdentifier, {
103
+ type: NodeType;
104
+ }> | Extract<TSESTree.JSXMemberExpression, {
105
+ type: NodeType;
106
+ }> | Extract<TSESTree.JSXNamespacedName, {
107
+ type: NodeType;
108
+ }> | Extract<TSESTree.JSXOpeningElement, {
109
+ type: NodeType;
110
+ }> | Extract<TSESTree.JSXOpeningFragment, {
111
+ type: NodeType;
112
+ }> | Extract<TSESTree.JSXSpreadAttribute, {
113
+ type: NodeType;
114
+ }> | Extract<TSESTree.JSXSpreadChild, {
115
+ type: NodeType;
116
+ }> | Extract<TSESTree.JSXText, {
117
+ type: NodeType;
118
+ }> | Extract<TSESTree.LabeledStatement, {
119
+ type: NodeType;
120
+ }> | Extract<TSESTree.BigIntLiteral, {
121
+ type: NodeType;
122
+ }> | Extract<TSESTree.BooleanLiteral, {
123
+ type: NodeType;
124
+ }> | Extract<TSESTree.NullLiteral, {
125
+ type: NodeType;
126
+ }> | Extract<TSESTree.NumberLiteral, {
127
+ type: NodeType;
128
+ }> | Extract<TSESTree.RegExpLiteral, {
129
+ type: NodeType;
130
+ }> | Extract<TSESTree.StringLiteral, {
131
+ type: NodeType;
132
+ }> | Extract<TSESTree.LogicalExpression, {
133
+ type: NodeType;
134
+ }> | Extract<TSESTree.MemberExpressionComputedName, {
135
+ type: NodeType;
136
+ }> | Extract<TSESTree.MemberExpressionNonComputedName, {
137
+ type: NodeType;
138
+ }> | Extract<TSESTree.MetaProperty, {
139
+ type: NodeType;
140
+ }> | Extract<TSESTree.MethodDefinitionComputedName, {
141
+ type: NodeType;
142
+ }> | Extract<TSESTree.MethodDefinitionNonComputedName, {
143
+ type: NodeType;
144
+ }> | Extract<TSESTree.NewExpression, {
145
+ type: NodeType;
146
+ }> | Extract<TSESTree.ObjectExpression, {
147
+ type: NodeType;
148
+ }> | Extract<TSESTree.ObjectPattern, {
149
+ type: NodeType;
150
+ }> | Extract<TSESTree.PrivateIdentifier, {
151
+ type: NodeType;
152
+ }> | Extract<TSESTree.Program, {
153
+ type: NodeType;
154
+ }> | Extract<TSESTree.PropertyComputedName, {
155
+ type: NodeType;
156
+ }> | Extract<TSESTree.PropertyNonComputedName, {
157
+ type: NodeType;
158
+ }> | Extract<TSESTree.PropertyDefinitionComputedName, {
159
+ type: NodeType;
160
+ }> | Extract<TSESTree.PropertyDefinitionNonComputedName, {
161
+ type: NodeType;
162
+ }> | Extract<TSESTree.RestElement, {
163
+ type: NodeType;
164
+ }> | Extract<TSESTree.ReturnStatement, {
165
+ type: NodeType;
166
+ }> | Extract<TSESTree.SequenceExpression, {
167
+ type: NodeType;
168
+ }> | Extract<TSESTree.SpreadElement, {
169
+ type: NodeType;
170
+ }> | Extract<TSESTree.StaticBlock, {
171
+ type: NodeType;
172
+ }> | Extract<TSESTree.Super, {
173
+ type: NodeType;
174
+ }> | Extract<TSESTree.SwitchCase, {
175
+ type: NodeType;
176
+ }> | Extract<TSESTree.SwitchStatement, {
177
+ type: NodeType;
178
+ }> | Extract<TSESTree.TaggedTemplateExpression, {
179
+ type: NodeType;
180
+ }> | Extract<TSESTree.TemplateElement, {
181
+ type: NodeType;
182
+ }> | Extract<TSESTree.TemplateLiteral, {
183
+ type: NodeType;
184
+ }> | Extract<TSESTree.ThisExpression, {
185
+ type: NodeType;
186
+ }> | Extract<TSESTree.ThrowStatement, {
187
+ type: NodeType;
188
+ }> | Extract<TSESTree.TryStatement, {
189
+ type: NodeType;
190
+ }> | Extract<TSESTree.TSAbstractKeyword, {
191
+ type: NodeType;
192
+ }> | Extract<TSESTree.TSAbstractMethodDefinitionComputedName, {
193
+ type: NodeType;
194
+ }> | Extract<TSESTree.TSAbstractMethodDefinitionNonComputedName, {
195
+ type: NodeType;
196
+ }> | Extract<TSESTree.TSAbstractPropertyDefinitionComputedName, {
197
+ type: NodeType;
198
+ }> | Extract<TSESTree.TSAbstractPropertyDefinitionNonComputedName, {
199
+ type: NodeType;
200
+ }> | Extract<TSESTree.TSAnyKeyword, {
201
+ type: NodeType;
202
+ }> | Extract<TSESTree.TSArrayType, {
203
+ type: NodeType;
204
+ }> | Extract<TSESTree.TSAsExpression, {
205
+ type: NodeType;
206
+ }> | Extract<TSESTree.TSAsyncKeyword, {
207
+ type: NodeType;
208
+ }> | Extract<TSESTree.TSBigIntKeyword, {
209
+ type: NodeType;
210
+ }> | Extract<TSESTree.TSBooleanKeyword, {
211
+ type: NodeType;
212
+ }> | Extract<TSESTree.TSCallSignatureDeclaration, {
213
+ type: NodeType;
214
+ }> | Extract<TSESTree.TSClassImplements, {
215
+ type: NodeType;
216
+ }> | Extract<TSESTree.TSConditionalType, {
217
+ type: NodeType;
218
+ }> | Extract<TSESTree.TSConstructorType, {
219
+ type: NodeType;
220
+ }> | Extract<TSESTree.TSConstructSignatureDeclaration, {
221
+ type: NodeType;
222
+ }> | Extract<TSESTree.TSDeclareFunction, {
223
+ type: NodeType;
224
+ }> | Extract<TSESTree.TSDeclareKeyword, {
225
+ type: NodeType;
226
+ }> | Extract<TSESTree.TSEmptyBodyFunctionExpression, {
227
+ type: NodeType;
228
+ }> | Extract<TSESTree.TSEnumDeclaration, {
229
+ type: NodeType;
230
+ }> | Extract<TSESTree.TSEnumMemberComputedName, {
231
+ type: NodeType;
232
+ }> | Extract<TSESTree.TSEnumMemberNonComputedName, {
233
+ type: NodeType;
234
+ }> | Extract<TSESTree.TSExportAssignment, {
235
+ type: NodeType;
236
+ }> | Extract<TSESTree.TSExportKeyword, {
237
+ type: NodeType;
238
+ }> | Extract<TSESTree.TSExternalModuleReference, {
239
+ type: NodeType;
240
+ }> | Extract<TSESTree.TSFunctionType, {
241
+ type: NodeType;
242
+ }> | Extract<TSESTree.TSImportEqualsDeclaration, {
243
+ type: NodeType;
244
+ }> | Extract<TSESTree.TSImportType, {
245
+ type: NodeType;
246
+ }> | Extract<TSESTree.TSIndexedAccessType, {
247
+ type: NodeType;
248
+ }> | Extract<TSESTree.TSIndexSignature, {
249
+ type: NodeType;
250
+ }> | Extract<TSESTree.TSInferType, {
251
+ type: NodeType;
252
+ }> | Extract<TSESTree.TSInstantiationExpression, {
253
+ type: NodeType;
254
+ }> | Extract<TSESTree.TSInterfaceBody, {
255
+ type: NodeType;
256
+ }> | Extract<TSESTree.TSInterfaceDeclaration, {
257
+ type: NodeType;
258
+ }> | Extract<TSESTree.TSInterfaceHeritage, {
259
+ type: NodeType;
260
+ }> | Extract<TSESTree.TSIntersectionType, {
261
+ type: NodeType;
262
+ }> | Extract<TSESTree.TSIntrinsicKeyword, {
263
+ type: NodeType;
264
+ }> | Extract<TSESTree.TSLiteralType, {
265
+ type: NodeType;
266
+ }> | Extract<TSESTree.TSMappedType, {
267
+ type: NodeType;
268
+ }> | Extract<TSESTree.TSMethodSignatureComputedName, {
269
+ type: NodeType;
270
+ }> | Extract<TSESTree.TSMethodSignatureNonComputedName, {
271
+ type: NodeType;
272
+ }> | Extract<TSESTree.TSModuleBlock, {
273
+ type: NodeType;
274
+ }> | Extract<TSESTree.TSModuleDeclaration, {
275
+ type: NodeType;
276
+ }> | Extract<TSESTree.TSNamedTupleMember, {
277
+ type: NodeType;
278
+ }> | Extract<TSESTree.TSNamespaceExportDeclaration, {
279
+ type: NodeType;
280
+ }> | Extract<TSESTree.TSNeverKeyword, {
281
+ type: NodeType;
282
+ }> | Extract<TSESTree.TSNonNullExpression, {
283
+ type: NodeType;
284
+ }> | Extract<TSESTree.TSNullKeyword, {
285
+ type: NodeType;
286
+ }> | Extract<TSESTree.TSNumberKeyword, {
287
+ type: NodeType;
288
+ }> | Extract<TSESTree.TSObjectKeyword, {
289
+ type: NodeType;
290
+ }> | Extract<TSESTree.TSOptionalType, {
291
+ type: NodeType;
292
+ }> | Extract<TSESTree.TSParameterProperty, {
293
+ type: NodeType;
294
+ }> | Extract<TSESTree.TSPrivateKeyword, {
295
+ type: NodeType;
296
+ }> | Extract<TSESTree.TSPropertySignatureComputedName, {
297
+ type: NodeType;
298
+ }> | Extract<TSESTree.TSPropertySignatureNonComputedName, {
299
+ type: NodeType;
300
+ }> | Extract<TSESTree.TSProtectedKeyword, {
301
+ type: NodeType;
302
+ }> | Extract<TSESTree.TSPublicKeyword, {
303
+ type: NodeType;
304
+ }> | Extract<TSESTree.TSQualifiedName, {
305
+ type: NodeType;
306
+ }> | Extract<TSESTree.TSReadonlyKeyword, {
307
+ type: NodeType;
308
+ }> | Extract<TSESTree.TSRestType, {
309
+ type: NodeType;
310
+ }> | Extract<TSESTree.TSStaticKeyword, {
311
+ type: NodeType;
312
+ }> | Extract<TSESTree.TSStringKeyword, {
313
+ type: NodeType;
314
+ }> | Extract<TSESTree.TSSymbolKeyword, {
315
+ type: NodeType;
316
+ }> | Extract<TSESTree.TSTemplateLiteralType, {
317
+ type: NodeType;
318
+ }> | Extract<TSESTree.TSThisType, {
319
+ type: NodeType;
320
+ }> | Extract<TSESTree.TSTupleType, {
321
+ type: NodeType;
322
+ }> | Extract<TSESTree.TSTypeAliasDeclaration, {
323
+ type: NodeType;
324
+ }> | Extract<TSESTree.TSTypeAnnotation, {
325
+ type: NodeType;
326
+ }> | Extract<TSESTree.TSTypeAssertion, {
327
+ type: NodeType;
328
+ }> | Extract<TSESTree.TSTypeLiteral, {
329
+ type: NodeType;
330
+ }> | Extract<TSESTree.TSTypeOperator, {
331
+ type: NodeType;
332
+ }> | Extract<TSESTree.TSTypeParameter, {
333
+ type: NodeType;
334
+ }> | Extract<TSESTree.TSTypeParameterDeclaration, {
335
+ type: NodeType;
336
+ }> | Extract<TSESTree.TSTypeParameterInstantiation, {
337
+ type: NodeType;
338
+ }> | Extract<TSESTree.TSTypePredicate, {
339
+ type: NodeType;
340
+ }> | Extract<TSESTree.TSTypeQuery, {
341
+ type: NodeType;
342
+ }> | Extract<TSESTree.TSTypeReference, {
343
+ type: NodeType;
344
+ }> | Extract<TSESTree.TSUndefinedKeyword, {
345
+ type: NodeType;
346
+ }> | Extract<TSESTree.TSUnionType, {
347
+ type: NodeType;
348
+ }> | Extract<TSESTree.TSUnknownKeyword, {
349
+ type: NodeType;
350
+ }> | Extract<TSESTree.TSVoidKeyword, {
351
+ type: NodeType;
352
+ }> | Extract<TSESTree.UnaryExpression, {
353
+ type: NodeType;
354
+ }> | Extract<TSESTree.UpdateExpression, {
355
+ type: NodeType;
356
+ }> | Extract<TSESTree.VariableDeclaration, {
357
+ type: NodeType;
358
+ }> | Extract<TSESTree.VariableDeclarator, {
359
+ type: NodeType;
360
+ }> | Extract<TSESTree.WhileStatement, {
361
+ type: NodeType;
362
+ }> | Extract<TSESTree.WithStatement, {
363
+ type: NodeType;
364
+ }> | Extract<TSESTree.YieldExpression, {
365
+ type: NodeType;
366
+ }>;
367
+ export declare const isNodeOfTypes: <NodeTypes extends readonly AST_NODE_TYPES[]>(nodeTypes: NodeTypes) => (node: TSESTree.Node | null | undefined) => node is Extract<TSESTree.ArrayExpression, {
368
+ type: NodeTypes[number];
369
+ }> | Extract<TSESTree.ArrayPattern, {
370
+ type: NodeTypes[number];
371
+ }> | Extract<TSESTree.ArrowFunctionExpression, {
372
+ type: NodeTypes[number];
373
+ }> | Extract<TSESTree.AssignmentExpression, {
374
+ type: NodeTypes[number];
375
+ }> | Extract<TSESTree.AssignmentPattern, {
376
+ type: NodeTypes[number];
377
+ }> | Extract<TSESTree.AwaitExpression, {
378
+ type: NodeTypes[number];
379
+ }> | Extract<TSESTree.BinaryExpression, {
380
+ type: NodeTypes[number];
381
+ }> | Extract<TSESTree.BlockStatement, {
382
+ type: NodeTypes[number];
383
+ }> | Extract<TSESTree.BreakStatement, {
384
+ type: NodeTypes[number];
385
+ }> | Extract<TSESTree.CallExpression, {
386
+ type: NodeTypes[number];
387
+ }> | Extract<TSESTree.CatchClause, {
388
+ type: NodeTypes[number];
389
+ }> | Extract<TSESTree.ChainExpression, {
390
+ type: NodeTypes[number];
391
+ }> | Extract<TSESTree.ClassBody, {
392
+ type: NodeTypes[number];
393
+ }> | Extract<TSESTree.ClassDeclarationWithName, {
394
+ type: NodeTypes[number];
395
+ }> | Extract<TSESTree.ClassDeclarationWithOptionalName, {
396
+ type: NodeTypes[number];
397
+ }> | Extract<TSESTree.ClassExpression, {
398
+ type: NodeTypes[number];
399
+ }> | Extract<TSESTree.ConditionalExpression, {
400
+ type: NodeTypes[number];
401
+ }> | Extract<TSESTree.ContinueStatement, {
402
+ type: NodeTypes[number];
403
+ }> | Extract<TSESTree.DebuggerStatement, {
404
+ type: NodeTypes[number];
405
+ }> | Extract<TSESTree.Decorator, {
406
+ type: NodeTypes[number];
407
+ }> | Extract<TSESTree.DoWhileStatement, {
408
+ type: NodeTypes[number];
409
+ }> | Extract<TSESTree.EmptyStatement, {
410
+ type: NodeTypes[number];
411
+ }> | Extract<TSESTree.ExportAllDeclaration, {
412
+ type: NodeTypes[number];
413
+ }> | Extract<TSESTree.ExportDefaultDeclaration, {
414
+ type: NodeTypes[number];
415
+ }> | Extract<TSESTree.ExportNamedDeclarationWithoutSourceWithMultiple, {
416
+ type: NodeTypes[number];
417
+ }> | Extract<TSESTree.ExportNamedDeclarationWithoutSourceWithSingle, {
418
+ type: NodeTypes[number];
419
+ }> | Extract<TSESTree.ExportNamedDeclarationWithSource, {
420
+ type: NodeTypes[number];
421
+ }> | Extract<TSESTree.ExportSpecifier, {
422
+ type: NodeTypes[number];
423
+ }> | Extract<TSESTree.ExpressionStatement, {
424
+ type: NodeTypes[number];
425
+ }> | Extract<TSESTree.ForInStatement, {
426
+ type: NodeTypes[number];
427
+ }> | Extract<TSESTree.ForOfStatement, {
428
+ type: NodeTypes[number];
429
+ }> | Extract<TSESTree.ForStatement, {
430
+ type: NodeTypes[number];
431
+ }> | Extract<TSESTree.FunctionDeclarationWithName, {
432
+ type: NodeTypes[number];
433
+ }> | Extract<TSESTree.FunctionDeclarationWithOptionalName, {
434
+ type: NodeTypes[number];
435
+ }> | Extract<TSESTree.FunctionExpression, {
436
+ type: NodeTypes[number];
437
+ }> | Extract<TSESTree.Identifier, {
438
+ type: NodeTypes[number];
439
+ }> | Extract<TSESTree.IfStatement, {
440
+ type: NodeTypes[number];
441
+ }> | Extract<TSESTree.ImportAttribute, {
442
+ type: NodeTypes[number];
443
+ }> | Extract<TSESTree.ImportDeclaration, {
444
+ type: NodeTypes[number];
445
+ }> | Extract<TSESTree.ImportDefaultSpecifier, {
446
+ type: NodeTypes[number];
447
+ }> | Extract<TSESTree.ImportExpression, {
448
+ type: NodeTypes[number];
449
+ }> | Extract<TSESTree.ImportNamespaceSpecifier, {
450
+ type: NodeTypes[number];
451
+ }> | Extract<TSESTree.ImportSpecifier, {
452
+ type: NodeTypes[number];
453
+ }> | Extract<TSESTree.JSXAttribute, {
454
+ type: NodeTypes[number];
455
+ }> | Extract<TSESTree.JSXClosingElement, {
456
+ type: NodeTypes[number];
457
+ }> | Extract<TSESTree.JSXClosingFragment, {
458
+ type: NodeTypes[number];
459
+ }> | Extract<TSESTree.JSXElement, {
460
+ type: NodeTypes[number];
461
+ }> | Extract<TSESTree.JSXEmptyExpression, {
462
+ type: NodeTypes[number];
463
+ }> | Extract<TSESTree.JSXExpressionContainer, {
464
+ type: NodeTypes[number];
465
+ }> | Extract<TSESTree.JSXFragment, {
466
+ type: NodeTypes[number];
467
+ }> | Extract<TSESTree.JSXIdentifier, {
468
+ type: NodeTypes[number];
469
+ }> | Extract<TSESTree.JSXMemberExpression, {
470
+ type: NodeTypes[number];
471
+ }> | Extract<TSESTree.JSXNamespacedName, {
472
+ type: NodeTypes[number];
473
+ }> | Extract<TSESTree.JSXOpeningElement, {
474
+ type: NodeTypes[number];
475
+ }> | Extract<TSESTree.JSXOpeningFragment, {
476
+ type: NodeTypes[number];
477
+ }> | Extract<TSESTree.JSXSpreadAttribute, {
478
+ type: NodeTypes[number];
479
+ }> | Extract<TSESTree.JSXSpreadChild, {
480
+ type: NodeTypes[number];
481
+ }> | Extract<TSESTree.JSXText, {
482
+ type: NodeTypes[number];
483
+ }> | Extract<TSESTree.LabeledStatement, {
484
+ type: NodeTypes[number];
485
+ }> | Extract<TSESTree.BigIntLiteral, {
486
+ type: NodeTypes[number];
487
+ }> | Extract<TSESTree.BooleanLiteral, {
488
+ type: NodeTypes[number];
489
+ }> | Extract<TSESTree.NullLiteral, {
490
+ type: NodeTypes[number];
491
+ }> | Extract<TSESTree.NumberLiteral, {
492
+ type: NodeTypes[number];
493
+ }> | Extract<TSESTree.RegExpLiteral, {
494
+ type: NodeTypes[number];
495
+ }> | Extract<TSESTree.StringLiteral, {
496
+ type: NodeTypes[number];
497
+ }> | Extract<TSESTree.LogicalExpression, {
498
+ type: NodeTypes[number];
499
+ }> | Extract<TSESTree.MemberExpressionComputedName, {
500
+ type: NodeTypes[number];
501
+ }> | Extract<TSESTree.MemberExpressionNonComputedName, {
502
+ type: NodeTypes[number];
503
+ }> | Extract<TSESTree.MetaProperty, {
504
+ type: NodeTypes[number];
505
+ }> | Extract<TSESTree.MethodDefinitionComputedName, {
506
+ type: NodeTypes[number];
507
+ }> | Extract<TSESTree.MethodDefinitionNonComputedName, {
508
+ type: NodeTypes[number];
509
+ }> | Extract<TSESTree.NewExpression, {
510
+ type: NodeTypes[number];
511
+ }> | Extract<TSESTree.ObjectExpression, {
512
+ type: NodeTypes[number];
513
+ }> | Extract<TSESTree.ObjectPattern, {
514
+ type: NodeTypes[number];
515
+ }> | Extract<TSESTree.PrivateIdentifier, {
516
+ type: NodeTypes[number];
517
+ }> | Extract<TSESTree.Program, {
518
+ type: NodeTypes[number];
519
+ }> | Extract<TSESTree.PropertyComputedName, {
520
+ type: NodeTypes[number];
521
+ }> | Extract<TSESTree.PropertyNonComputedName, {
522
+ type: NodeTypes[number];
523
+ }> | Extract<TSESTree.PropertyDefinitionComputedName, {
524
+ type: NodeTypes[number];
525
+ }> | Extract<TSESTree.PropertyDefinitionNonComputedName, {
526
+ type: NodeTypes[number];
527
+ }> | Extract<TSESTree.RestElement, {
528
+ type: NodeTypes[number];
529
+ }> | Extract<TSESTree.ReturnStatement, {
530
+ type: NodeTypes[number];
531
+ }> | Extract<TSESTree.SequenceExpression, {
532
+ type: NodeTypes[number];
533
+ }> | Extract<TSESTree.SpreadElement, {
534
+ type: NodeTypes[number];
535
+ }> | Extract<TSESTree.StaticBlock, {
536
+ type: NodeTypes[number];
537
+ }> | Extract<TSESTree.Super, {
538
+ type: NodeTypes[number];
539
+ }> | Extract<TSESTree.SwitchCase, {
540
+ type: NodeTypes[number];
541
+ }> | Extract<TSESTree.SwitchStatement, {
542
+ type: NodeTypes[number];
543
+ }> | Extract<TSESTree.TaggedTemplateExpression, {
544
+ type: NodeTypes[number];
545
+ }> | Extract<TSESTree.TemplateElement, {
546
+ type: NodeTypes[number];
547
+ }> | Extract<TSESTree.TemplateLiteral, {
548
+ type: NodeTypes[number];
549
+ }> | Extract<TSESTree.ThisExpression, {
550
+ type: NodeTypes[number];
551
+ }> | Extract<TSESTree.ThrowStatement, {
552
+ type: NodeTypes[number];
553
+ }> | Extract<TSESTree.TryStatement, {
554
+ type: NodeTypes[number];
555
+ }> | Extract<TSESTree.TSAbstractKeyword, {
556
+ type: NodeTypes[number];
557
+ }> | Extract<TSESTree.TSAbstractMethodDefinitionComputedName, {
558
+ type: NodeTypes[number];
559
+ }> | Extract<TSESTree.TSAbstractMethodDefinitionNonComputedName, {
560
+ type: NodeTypes[number];
561
+ }> | Extract<TSESTree.TSAbstractPropertyDefinitionComputedName, {
562
+ type: NodeTypes[number];
563
+ }> | Extract<TSESTree.TSAbstractPropertyDefinitionNonComputedName, {
564
+ type: NodeTypes[number];
565
+ }> | Extract<TSESTree.TSAnyKeyword, {
566
+ type: NodeTypes[number];
567
+ }> | Extract<TSESTree.TSArrayType, {
568
+ type: NodeTypes[number];
569
+ }> | Extract<TSESTree.TSAsExpression, {
570
+ type: NodeTypes[number];
571
+ }> | Extract<TSESTree.TSAsyncKeyword, {
572
+ type: NodeTypes[number];
573
+ }> | Extract<TSESTree.TSBigIntKeyword, {
574
+ type: NodeTypes[number];
575
+ }> | Extract<TSESTree.TSBooleanKeyword, {
576
+ type: NodeTypes[number];
577
+ }> | Extract<TSESTree.TSCallSignatureDeclaration, {
578
+ type: NodeTypes[number];
579
+ }> | Extract<TSESTree.TSClassImplements, {
580
+ type: NodeTypes[number];
581
+ }> | Extract<TSESTree.TSConditionalType, {
582
+ type: NodeTypes[number];
583
+ }> | Extract<TSESTree.TSConstructorType, {
584
+ type: NodeTypes[number];
585
+ }> | Extract<TSESTree.TSConstructSignatureDeclaration, {
586
+ type: NodeTypes[number];
587
+ }> | Extract<TSESTree.TSDeclareFunction, {
588
+ type: NodeTypes[number];
589
+ }> | Extract<TSESTree.TSDeclareKeyword, {
590
+ type: NodeTypes[number];
591
+ }> | Extract<TSESTree.TSEmptyBodyFunctionExpression, {
592
+ type: NodeTypes[number];
593
+ }> | Extract<TSESTree.TSEnumDeclaration, {
594
+ type: NodeTypes[number];
595
+ }> | Extract<TSESTree.TSEnumMemberComputedName, {
596
+ type: NodeTypes[number];
597
+ }> | Extract<TSESTree.TSEnumMemberNonComputedName, {
598
+ type: NodeTypes[number];
599
+ }> | Extract<TSESTree.TSExportAssignment, {
600
+ type: NodeTypes[number];
601
+ }> | Extract<TSESTree.TSExportKeyword, {
602
+ type: NodeTypes[number];
603
+ }> | Extract<TSESTree.TSExternalModuleReference, {
604
+ type: NodeTypes[number];
605
+ }> | Extract<TSESTree.TSFunctionType, {
606
+ type: NodeTypes[number];
607
+ }> | Extract<TSESTree.TSImportEqualsDeclaration, {
608
+ type: NodeTypes[number];
609
+ }> | Extract<TSESTree.TSImportType, {
610
+ type: NodeTypes[number];
611
+ }> | Extract<TSESTree.TSIndexedAccessType, {
612
+ type: NodeTypes[number];
613
+ }> | Extract<TSESTree.TSIndexSignature, {
614
+ type: NodeTypes[number];
615
+ }> | Extract<TSESTree.TSInferType, {
616
+ type: NodeTypes[number];
617
+ }> | Extract<TSESTree.TSInstantiationExpression, {
618
+ type: NodeTypes[number];
619
+ }> | Extract<TSESTree.TSInterfaceBody, {
620
+ type: NodeTypes[number];
621
+ }> | Extract<TSESTree.TSInterfaceDeclaration, {
622
+ type: NodeTypes[number];
623
+ }> | Extract<TSESTree.TSInterfaceHeritage, {
624
+ type: NodeTypes[number];
625
+ }> | Extract<TSESTree.TSIntersectionType, {
626
+ type: NodeTypes[number];
627
+ }> | Extract<TSESTree.TSIntrinsicKeyword, {
628
+ type: NodeTypes[number];
629
+ }> | Extract<TSESTree.TSLiteralType, {
630
+ type: NodeTypes[number];
631
+ }> | Extract<TSESTree.TSMappedType, {
632
+ type: NodeTypes[number];
633
+ }> | Extract<TSESTree.TSMethodSignatureComputedName, {
634
+ type: NodeTypes[number];
635
+ }> | Extract<TSESTree.TSMethodSignatureNonComputedName, {
636
+ type: NodeTypes[number];
637
+ }> | Extract<TSESTree.TSModuleBlock, {
638
+ type: NodeTypes[number];
639
+ }> | Extract<TSESTree.TSModuleDeclaration, {
640
+ type: NodeTypes[number];
641
+ }> | Extract<TSESTree.TSNamedTupleMember, {
642
+ type: NodeTypes[number];
643
+ }> | Extract<TSESTree.TSNamespaceExportDeclaration, {
644
+ type: NodeTypes[number];
645
+ }> | Extract<TSESTree.TSNeverKeyword, {
646
+ type: NodeTypes[number];
647
+ }> | Extract<TSESTree.TSNonNullExpression, {
648
+ type: NodeTypes[number];
649
+ }> | Extract<TSESTree.TSNullKeyword, {
650
+ type: NodeTypes[number];
651
+ }> | Extract<TSESTree.TSNumberKeyword, {
652
+ type: NodeTypes[number];
653
+ }> | Extract<TSESTree.TSObjectKeyword, {
654
+ type: NodeTypes[number];
655
+ }> | Extract<TSESTree.TSOptionalType, {
656
+ type: NodeTypes[number];
657
+ }> | Extract<TSESTree.TSParameterProperty, {
658
+ type: NodeTypes[number];
659
+ }> | Extract<TSESTree.TSPrivateKeyword, {
660
+ type: NodeTypes[number];
661
+ }> | Extract<TSESTree.TSPropertySignatureComputedName, {
662
+ type: NodeTypes[number];
663
+ }> | Extract<TSESTree.TSPropertySignatureNonComputedName, {
664
+ type: NodeTypes[number];
665
+ }> | Extract<TSESTree.TSProtectedKeyword, {
666
+ type: NodeTypes[number];
667
+ }> | Extract<TSESTree.TSPublicKeyword, {
668
+ type: NodeTypes[number];
669
+ }> | Extract<TSESTree.TSQualifiedName, {
670
+ type: NodeTypes[number];
671
+ }> | Extract<TSESTree.TSReadonlyKeyword, {
672
+ type: NodeTypes[number];
673
+ }> | Extract<TSESTree.TSRestType, {
674
+ type: NodeTypes[number];
675
+ }> | Extract<TSESTree.TSStaticKeyword, {
676
+ type: NodeTypes[number];
677
+ }> | Extract<TSESTree.TSStringKeyword, {
678
+ type: NodeTypes[number];
679
+ }> | Extract<TSESTree.TSSymbolKeyword, {
680
+ type: NodeTypes[number];
681
+ }> | Extract<TSESTree.TSTemplateLiteralType, {
682
+ type: NodeTypes[number];
683
+ }> | Extract<TSESTree.TSThisType, {
684
+ type: NodeTypes[number];
685
+ }> | Extract<TSESTree.TSTupleType, {
686
+ type: NodeTypes[number];
687
+ }> | Extract<TSESTree.TSTypeAliasDeclaration, {
688
+ type: NodeTypes[number];
689
+ }> | Extract<TSESTree.TSTypeAnnotation, {
690
+ type: NodeTypes[number];
691
+ }> | Extract<TSESTree.TSTypeAssertion, {
692
+ type: NodeTypes[number];
693
+ }> | Extract<TSESTree.TSTypeLiteral, {
694
+ type: NodeTypes[number];
695
+ }> | Extract<TSESTree.TSTypeOperator, {
696
+ type: NodeTypes[number];
697
+ }> | Extract<TSESTree.TSTypeParameter, {
698
+ type: NodeTypes[number];
699
+ }> | Extract<TSESTree.TSTypeParameterDeclaration, {
700
+ type: NodeTypes[number];
701
+ }> | Extract<TSESTree.TSTypeParameterInstantiation, {
702
+ type: NodeTypes[number];
703
+ }> | Extract<TSESTree.TSTypePredicate, {
704
+ type: NodeTypes[number];
705
+ }> | Extract<TSESTree.TSTypeQuery, {
706
+ type: NodeTypes[number];
707
+ }> | Extract<TSESTree.TSTypeReference, {
708
+ type: NodeTypes[number];
709
+ }> | Extract<TSESTree.TSUndefinedKeyword, {
710
+ type: NodeTypes[number];
711
+ }> | Extract<TSESTree.TSUnionType, {
712
+ type: NodeTypes[number];
713
+ }> | Extract<TSESTree.TSUnknownKeyword, {
714
+ type: NodeTypes[number];
715
+ }> | Extract<TSESTree.TSVoidKeyword, {
716
+ type: NodeTypes[number];
717
+ }> | Extract<TSESTree.UnaryExpression, {
718
+ type: NodeTypes[number];
719
+ }> | Extract<TSESTree.UpdateExpression, {
720
+ type: NodeTypes[number];
721
+ }> | Extract<TSESTree.VariableDeclaration, {
722
+ type: NodeTypes[number];
723
+ }> | Extract<TSESTree.VariableDeclarator, {
724
+ type: NodeTypes[number];
725
+ }> | Extract<TSESTree.WhileStatement, {
726
+ type: NodeTypes[number];
727
+ }> | Extract<TSESTree.WithStatement, {
728
+ type: NodeTypes[number];
729
+ }> | Extract<TSESTree.YieldExpression, {
730
+ type: NodeTypes[number];
731
+ }>;
732
+ export declare const isNodeOfTypeWithConditions: <NodeType extends AST_NODE_TYPES, ExtractedNode extends Extract<TSESTree.ArrayExpression, {
733
+ type: NodeType;
734
+ }> | Extract<TSESTree.ArrayPattern, {
735
+ type: NodeType;
736
+ }> | Extract<TSESTree.ArrowFunctionExpression, {
737
+ type: NodeType;
738
+ }> | Extract<TSESTree.AssignmentExpression, {
739
+ type: NodeType;
740
+ }> | Extract<TSESTree.AssignmentPattern, {
741
+ type: NodeType;
742
+ }> | Extract<TSESTree.AwaitExpression, {
743
+ type: NodeType;
744
+ }> | Extract<TSESTree.BinaryExpression, {
745
+ type: NodeType;
746
+ }> | Extract<TSESTree.BlockStatement, {
747
+ type: NodeType;
748
+ }> | Extract<TSESTree.BreakStatement, {
749
+ type: NodeType;
750
+ }> | Extract<TSESTree.CallExpression, {
751
+ type: NodeType;
752
+ }> | Extract<TSESTree.CatchClause, {
753
+ type: NodeType;
754
+ }> | Extract<TSESTree.ChainExpression, {
755
+ type: NodeType;
756
+ }> | Extract<TSESTree.ClassBody, {
757
+ type: NodeType;
758
+ }> | Extract<TSESTree.ClassDeclarationWithName, {
759
+ type: NodeType;
760
+ }> | Extract<TSESTree.ClassDeclarationWithOptionalName, {
761
+ type: NodeType;
762
+ }> | Extract<TSESTree.ClassExpression, {
763
+ type: NodeType;
764
+ }> | Extract<TSESTree.ConditionalExpression, {
765
+ type: NodeType;
766
+ }> | Extract<TSESTree.ContinueStatement, {
767
+ type: NodeType;
768
+ }> | Extract<TSESTree.DebuggerStatement, {
769
+ type: NodeType;
770
+ }> | Extract<TSESTree.Decorator, {
771
+ type: NodeType;
772
+ }> | Extract<TSESTree.DoWhileStatement, {
773
+ type: NodeType;
774
+ }> | Extract<TSESTree.EmptyStatement, {
775
+ type: NodeType;
776
+ }> | Extract<TSESTree.ExportAllDeclaration, {
777
+ type: NodeType;
778
+ }> | Extract<TSESTree.ExportDefaultDeclaration, {
779
+ type: NodeType;
780
+ }> | Extract<TSESTree.ExportNamedDeclarationWithoutSourceWithMultiple, {
781
+ type: NodeType;
782
+ }> | Extract<TSESTree.ExportNamedDeclarationWithoutSourceWithSingle, {
783
+ type: NodeType;
784
+ }> | Extract<TSESTree.ExportNamedDeclarationWithSource, {
785
+ type: NodeType;
786
+ }> | Extract<TSESTree.ExportSpecifier, {
787
+ type: NodeType;
788
+ }> | Extract<TSESTree.ExpressionStatement, {
789
+ type: NodeType;
790
+ }> | Extract<TSESTree.ForInStatement, {
791
+ type: NodeType;
792
+ }> | Extract<TSESTree.ForOfStatement, {
793
+ type: NodeType;
794
+ }> | Extract<TSESTree.ForStatement, {
795
+ type: NodeType;
796
+ }> | Extract<TSESTree.FunctionDeclarationWithName, {
797
+ type: NodeType;
798
+ }> | Extract<TSESTree.FunctionDeclarationWithOptionalName, {
799
+ type: NodeType;
800
+ }> | Extract<TSESTree.FunctionExpression, {
801
+ type: NodeType;
802
+ }> | Extract<TSESTree.Identifier, {
803
+ type: NodeType;
804
+ }> | Extract<TSESTree.IfStatement, {
805
+ type: NodeType;
806
+ }> | Extract<TSESTree.ImportAttribute, {
807
+ type: NodeType;
808
+ }> | Extract<TSESTree.ImportDeclaration, {
809
+ type: NodeType;
810
+ }> | Extract<TSESTree.ImportDefaultSpecifier, {
811
+ type: NodeType;
812
+ }> | Extract<TSESTree.ImportExpression, {
813
+ type: NodeType;
814
+ }> | Extract<TSESTree.ImportNamespaceSpecifier, {
815
+ type: NodeType;
816
+ }> | Extract<TSESTree.ImportSpecifier, {
817
+ type: NodeType;
818
+ }> | Extract<TSESTree.JSXAttribute, {
819
+ type: NodeType;
820
+ }> | Extract<TSESTree.JSXClosingElement, {
821
+ type: NodeType;
822
+ }> | Extract<TSESTree.JSXClosingFragment, {
823
+ type: NodeType;
824
+ }> | Extract<TSESTree.JSXElement, {
825
+ type: NodeType;
826
+ }> | Extract<TSESTree.JSXEmptyExpression, {
827
+ type: NodeType;
828
+ }> | Extract<TSESTree.JSXExpressionContainer, {
829
+ type: NodeType;
830
+ }> | Extract<TSESTree.JSXFragment, {
831
+ type: NodeType;
832
+ }> | Extract<TSESTree.JSXIdentifier, {
833
+ type: NodeType;
834
+ }> | Extract<TSESTree.JSXMemberExpression, {
835
+ type: NodeType;
836
+ }> | Extract<TSESTree.JSXNamespacedName, {
837
+ type: NodeType;
838
+ }> | Extract<TSESTree.JSXOpeningElement, {
839
+ type: NodeType;
840
+ }> | Extract<TSESTree.JSXOpeningFragment, {
841
+ type: NodeType;
842
+ }> | Extract<TSESTree.JSXSpreadAttribute, {
843
+ type: NodeType;
844
+ }> | Extract<TSESTree.JSXSpreadChild, {
845
+ type: NodeType;
846
+ }> | Extract<TSESTree.JSXText, {
847
+ type: NodeType;
848
+ }> | Extract<TSESTree.LabeledStatement, {
849
+ type: NodeType;
850
+ }> | Extract<TSESTree.BigIntLiteral, {
851
+ type: NodeType;
852
+ }> | Extract<TSESTree.BooleanLiteral, {
853
+ type: NodeType;
854
+ }> | Extract<TSESTree.NullLiteral, {
855
+ type: NodeType;
856
+ }> | Extract<TSESTree.NumberLiteral, {
857
+ type: NodeType;
858
+ }> | Extract<TSESTree.RegExpLiteral, {
859
+ type: NodeType;
860
+ }> | Extract<TSESTree.StringLiteral, {
861
+ type: NodeType;
862
+ }> | Extract<TSESTree.LogicalExpression, {
863
+ type: NodeType;
864
+ }> | Extract<TSESTree.MemberExpressionComputedName, {
865
+ type: NodeType;
866
+ }> | Extract<TSESTree.MemberExpressionNonComputedName, {
867
+ type: NodeType;
868
+ }> | Extract<TSESTree.MetaProperty, {
869
+ type: NodeType;
870
+ }> | Extract<TSESTree.MethodDefinitionComputedName, {
871
+ type: NodeType;
872
+ }> | Extract<TSESTree.MethodDefinitionNonComputedName, {
873
+ type: NodeType;
874
+ }> | Extract<TSESTree.NewExpression, {
875
+ type: NodeType;
876
+ }> | Extract<TSESTree.ObjectExpression, {
877
+ type: NodeType;
878
+ }> | Extract<TSESTree.ObjectPattern, {
879
+ type: NodeType;
880
+ }> | Extract<TSESTree.PrivateIdentifier, {
881
+ type: NodeType;
882
+ }> | Extract<TSESTree.Program, {
883
+ type: NodeType;
884
+ }> | Extract<TSESTree.PropertyComputedName, {
885
+ type: NodeType;
886
+ }> | Extract<TSESTree.PropertyNonComputedName, {
887
+ type: NodeType;
888
+ }> | Extract<TSESTree.PropertyDefinitionComputedName, {
889
+ type: NodeType;
890
+ }> | Extract<TSESTree.PropertyDefinitionNonComputedName, {
891
+ type: NodeType;
892
+ }> | Extract<TSESTree.RestElement, {
893
+ type: NodeType;
894
+ }> | Extract<TSESTree.ReturnStatement, {
895
+ type: NodeType;
896
+ }> | Extract<TSESTree.SequenceExpression, {
897
+ type: NodeType;
898
+ }> | Extract<TSESTree.SpreadElement, {
899
+ type: NodeType;
900
+ }> | Extract<TSESTree.StaticBlock, {
901
+ type: NodeType;
902
+ }> | Extract<TSESTree.Super, {
903
+ type: NodeType;
904
+ }> | Extract<TSESTree.SwitchCase, {
905
+ type: NodeType;
906
+ }> | Extract<TSESTree.SwitchStatement, {
907
+ type: NodeType;
908
+ }> | Extract<TSESTree.TaggedTemplateExpression, {
909
+ type: NodeType;
910
+ }> | Extract<TSESTree.TemplateElement, {
911
+ type: NodeType;
912
+ }> | Extract<TSESTree.TemplateLiteral, {
913
+ type: NodeType;
914
+ }> | Extract<TSESTree.ThisExpression, {
915
+ type: NodeType;
916
+ }> | Extract<TSESTree.ThrowStatement, {
917
+ type: NodeType;
918
+ }> | Extract<TSESTree.TryStatement, {
919
+ type: NodeType;
920
+ }> | Extract<TSESTree.TSAbstractKeyword, {
921
+ type: NodeType;
922
+ }> | Extract<TSESTree.TSAbstractMethodDefinitionComputedName, {
923
+ type: NodeType;
924
+ }> | Extract<TSESTree.TSAbstractMethodDefinitionNonComputedName, {
925
+ type: NodeType;
926
+ }> | Extract<TSESTree.TSAbstractPropertyDefinitionComputedName, {
927
+ type: NodeType;
928
+ }> | Extract<TSESTree.TSAbstractPropertyDefinitionNonComputedName, {
929
+ type: NodeType;
930
+ }> | Extract<TSESTree.TSAnyKeyword, {
931
+ type: NodeType;
932
+ }> | Extract<TSESTree.TSArrayType, {
933
+ type: NodeType;
934
+ }> | Extract<TSESTree.TSAsExpression, {
935
+ type: NodeType;
936
+ }> | Extract<TSESTree.TSAsyncKeyword, {
937
+ type: NodeType;
938
+ }> | Extract<TSESTree.TSBigIntKeyword, {
939
+ type: NodeType;
940
+ }> | Extract<TSESTree.TSBooleanKeyword, {
941
+ type: NodeType;
942
+ }> | Extract<TSESTree.TSCallSignatureDeclaration, {
943
+ type: NodeType;
944
+ }> | Extract<TSESTree.TSClassImplements, {
945
+ type: NodeType;
946
+ }> | Extract<TSESTree.TSConditionalType, {
947
+ type: NodeType;
948
+ }> | Extract<TSESTree.TSConstructorType, {
949
+ type: NodeType;
950
+ }> | Extract<TSESTree.TSConstructSignatureDeclaration, {
951
+ type: NodeType;
952
+ }> | Extract<TSESTree.TSDeclareFunction, {
953
+ type: NodeType;
954
+ }> | Extract<TSESTree.TSDeclareKeyword, {
955
+ type: NodeType;
956
+ }> | Extract<TSESTree.TSEmptyBodyFunctionExpression, {
957
+ type: NodeType;
958
+ }> | Extract<TSESTree.TSEnumDeclaration, {
959
+ type: NodeType;
960
+ }> | Extract<TSESTree.TSEnumMemberComputedName, {
961
+ type: NodeType;
962
+ }> | Extract<TSESTree.TSEnumMemberNonComputedName, {
963
+ type: NodeType;
964
+ }> | Extract<TSESTree.TSExportAssignment, {
965
+ type: NodeType;
966
+ }> | Extract<TSESTree.TSExportKeyword, {
967
+ type: NodeType;
968
+ }> | Extract<TSESTree.TSExternalModuleReference, {
969
+ type: NodeType;
970
+ }> | Extract<TSESTree.TSFunctionType, {
971
+ type: NodeType;
972
+ }> | Extract<TSESTree.TSImportEqualsDeclaration, {
973
+ type: NodeType;
974
+ }> | Extract<TSESTree.TSImportType, {
975
+ type: NodeType;
976
+ }> | Extract<TSESTree.TSIndexedAccessType, {
977
+ type: NodeType;
978
+ }> | Extract<TSESTree.TSIndexSignature, {
979
+ type: NodeType;
980
+ }> | Extract<TSESTree.TSInferType, {
981
+ type: NodeType;
982
+ }> | Extract<TSESTree.TSInstantiationExpression, {
983
+ type: NodeType;
984
+ }> | Extract<TSESTree.TSInterfaceBody, {
985
+ type: NodeType;
986
+ }> | Extract<TSESTree.TSInterfaceDeclaration, {
987
+ type: NodeType;
988
+ }> | Extract<TSESTree.TSInterfaceHeritage, {
989
+ type: NodeType;
990
+ }> | Extract<TSESTree.TSIntersectionType, {
991
+ type: NodeType;
992
+ }> | Extract<TSESTree.TSIntrinsicKeyword, {
993
+ type: NodeType;
994
+ }> | Extract<TSESTree.TSLiteralType, {
995
+ type: NodeType;
996
+ }> | Extract<TSESTree.TSMappedType, {
997
+ type: NodeType;
998
+ }> | Extract<TSESTree.TSMethodSignatureComputedName, {
999
+ type: NodeType;
1000
+ }> | Extract<TSESTree.TSMethodSignatureNonComputedName, {
1001
+ type: NodeType;
1002
+ }> | Extract<TSESTree.TSModuleBlock, {
1003
+ type: NodeType;
1004
+ }> | Extract<TSESTree.TSModuleDeclaration, {
1005
+ type: NodeType;
1006
+ }> | Extract<TSESTree.TSNamedTupleMember, {
1007
+ type: NodeType;
1008
+ }> | Extract<TSESTree.TSNamespaceExportDeclaration, {
1009
+ type: NodeType;
1010
+ }> | Extract<TSESTree.TSNeverKeyword, {
1011
+ type: NodeType;
1012
+ }> | Extract<TSESTree.TSNonNullExpression, {
1013
+ type: NodeType;
1014
+ }> | Extract<TSESTree.TSNullKeyword, {
1015
+ type: NodeType;
1016
+ }> | Extract<TSESTree.TSNumberKeyword, {
1017
+ type: NodeType;
1018
+ }> | Extract<TSESTree.TSObjectKeyword, {
1019
+ type: NodeType;
1020
+ }> | Extract<TSESTree.TSOptionalType, {
1021
+ type: NodeType;
1022
+ }> | Extract<TSESTree.TSParameterProperty, {
1023
+ type: NodeType;
1024
+ }> | Extract<TSESTree.TSPrivateKeyword, {
1025
+ type: NodeType;
1026
+ }> | Extract<TSESTree.TSPropertySignatureComputedName, {
1027
+ type: NodeType;
1028
+ }> | Extract<TSESTree.TSPropertySignatureNonComputedName, {
1029
+ type: NodeType;
1030
+ }> | Extract<TSESTree.TSProtectedKeyword, {
1031
+ type: NodeType;
1032
+ }> | Extract<TSESTree.TSPublicKeyword, {
1033
+ type: NodeType;
1034
+ }> | Extract<TSESTree.TSQualifiedName, {
1035
+ type: NodeType;
1036
+ }> | Extract<TSESTree.TSReadonlyKeyword, {
1037
+ type: NodeType;
1038
+ }> | Extract<TSESTree.TSRestType, {
1039
+ type: NodeType;
1040
+ }> | Extract<TSESTree.TSStaticKeyword, {
1041
+ type: NodeType;
1042
+ }> | Extract<TSESTree.TSStringKeyword, {
1043
+ type: NodeType;
1044
+ }> | Extract<TSESTree.TSSymbolKeyword, {
1045
+ type: NodeType;
1046
+ }> | Extract<TSESTree.TSTemplateLiteralType, {
1047
+ type: NodeType;
1048
+ }> | Extract<TSESTree.TSThisType, {
1049
+ type: NodeType;
1050
+ }> | Extract<TSESTree.TSTupleType, {
1051
+ type: NodeType;
1052
+ }> | Extract<TSESTree.TSTypeAliasDeclaration, {
1053
+ type: NodeType;
1054
+ }> | Extract<TSESTree.TSTypeAnnotation, {
1055
+ type: NodeType;
1056
+ }> | Extract<TSESTree.TSTypeAssertion, {
1057
+ type: NodeType;
1058
+ }> | Extract<TSESTree.TSTypeLiteral, {
1059
+ type: NodeType;
1060
+ }> | Extract<TSESTree.TSTypeOperator, {
1061
+ type: NodeType;
1062
+ }> | Extract<TSESTree.TSTypeParameter, {
1063
+ type: NodeType;
1064
+ }> | Extract<TSESTree.TSTypeParameterDeclaration, {
1065
+ type: NodeType;
1066
+ }> | Extract<TSESTree.TSTypeParameterInstantiation, {
1067
+ type: NodeType;
1068
+ }> | Extract<TSESTree.TSTypePredicate, {
1069
+ type: NodeType;
1070
+ }> | Extract<TSESTree.TSTypeQuery, {
1071
+ type: NodeType;
1072
+ }> | Extract<TSESTree.TSTypeReference, {
1073
+ type: NodeType;
1074
+ }> | Extract<TSESTree.TSUndefinedKeyword, {
1075
+ type: NodeType;
1076
+ }> | Extract<TSESTree.TSUnionType, {
1077
+ type: NodeType;
1078
+ }> | Extract<TSESTree.TSUnknownKeyword, {
1079
+ type: NodeType;
1080
+ }> | Extract<TSESTree.TSVoidKeyword, {
1081
+ type: NodeType;
1082
+ }> | Extract<TSESTree.UnaryExpression, {
1083
+ type: NodeType;
1084
+ }> | Extract<TSESTree.UpdateExpression, {
1085
+ type: NodeType;
1086
+ }> | Extract<TSESTree.VariableDeclaration, {
1087
+ type: NodeType;
1088
+ }> | Extract<TSESTree.VariableDeclarator, {
1089
+ type: NodeType;
1090
+ }> | Extract<TSESTree.WhileStatement, {
1091
+ type: NodeType;
1092
+ }> | Extract<TSESTree.WithStatement, {
1093
+ type: NodeType;
1094
+ }> | Extract<TSESTree.YieldExpression, {
1095
+ type: NodeType;
1096
+ }>, Conditions extends Partial<ExtractedNode>>(nodeType: NodeType, conditions: Conditions) => (node: TSESTree.Node | null | undefined) => node is ExtractedNode & Conditions;
1097
+ export declare const isTokenOfTypeWithConditions: <TokenType extends AST_TOKEN_TYPES, ExtractedToken extends Extract<TSESTree.BooleanToken, {
1098
+ type: TokenType;
1099
+ }> | Extract<TSESTree.BlockComment, {
1100
+ type: TokenType;
1101
+ }> | Extract<TSESTree.LineComment, {
1102
+ type: TokenType;
1103
+ }> | Extract<TSESTree.IdentifierToken, {
1104
+ type: TokenType;
1105
+ }> | Extract<TSESTree.JSXIdentifierToken, {
1106
+ type: TokenType;
1107
+ }> | Extract<TSESTree.JSXTextToken, {
1108
+ type: TokenType;
1109
+ }> | Extract<TSESTree.KeywordToken, {
1110
+ type: TokenType;
1111
+ }> | Extract<TSESTree.NullToken, {
1112
+ type: TokenType;
1113
+ }> | Extract<TSESTree.NumericToken, {
1114
+ type: TokenType;
1115
+ }> | Extract<TSESTree.PunctuatorToken, {
1116
+ type: TokenType;
1117
+ }> | Extract<TSESTree.RegularExpressionToken, {
1118
+ type: TokenType;
1119
+ }> | Extract<TSESTree.StringToken, {
1120
+ type: TokenType;
1121
+ }> | Extract<TSESTree.TemplateToken, {
1122
+ type: TokenType;
1123
+ }>, Conditions extends Partial<TSESTree.Token & {
1124
+ type: TokenType;
1125
+ }>>(tokenType: TokenType, conditions: Conditions) => (token: TSESTree.Token | null | undefined) => token is ExtractedToken & Conditions;
1126
+ export declare const isNotTokenOfTypeWithConditions: <TokenType extends AST_TOKEN_TYPES, ExtractedToken extends Extract<TSESTree.BooleanToken, {
1127
+ type: TokenType;
1128
+ }> | Extract<TSESTree.BlockComment, {
1129
+ type: TokenType;
1130
+ }> | Extract<TSESTree.LineComment, {
1131
+ type: TokenType;
1132
+ }> | Extract<TSESTree.IdentifierToken, {
1133
+ type: TokenType;
1134
+ }> | Extract<TSESTree.JSXIdentifierToken, {
1135
+ type: TokenType;
1136
+ }> | Extract<TSESTree.JSXTextToken, {
1137
+ type: TokenType;
1138
+ }> | Extract<TSESTree.KeywordToken, {
1139
+ type: TokenType;
1140
+ }> | Extract<TSESTree.NullToken, {
1141
+ type: TokenType;
1142
+ }> | Extract<TSESTree.NumericToken, {
1143
+ type: TokenType;
1144
+ }> | Extract<TSESTree.PunctuatorToken, {
1145
+ type: TokenType;
1146
+ }> | Extract<TSESTree.RegularExpressionToken, {
1147
+ type: TokenType;
1148
+ }> | Extract<TSESTree.StringToken, {
1149
+ type: TokenType;
1150
+ }> | Extract<TSESTree.TemplateToken, {
1151
+ type: TokenType;
1152
+ }>, Conditions extends Partial<ExtractedToken>>(tokenType: TokenType, conditions: Conditions) => (token: TSESTree.Token | null | undefined) => token is Exclude<TSESTree.BooleanToken, ExtractedToken & Conditions> | Exclude<TSESTree.BlockComment, ExtractedToken & Conditions> | Exclude<TSESTree.LineComment, ExtractedToken & Conditions> | Exclude<TSESTree.IdentifierToken, ExtractedToken & Conditions> | Exclude<TSESTree.JSXIdentifierToken, ExtractedToken & Conditions> | Exclude<TSESTree.JSXTextToken, ExtractedToken & Conditions> | Exclude<TSESTree.KeywordToken, ExtractedToken & Conditions> | Exclude<TSESTree.NullToken, ExtractedToken & Conditions> | Exclude<TSESTree.NumericToken, ExtractedToken & Conditions> | Exclude<TSESTree.PunctuatorToken, ExtractedToken & Conditions> | Exclude<TSESTree.RegularExpressionToken, ExtractedToken & Conditions> | Exclude<TSESTree.StringToken, ExtractedToken & Conditions> | Exclude<TSESTree.TemplateToken, ExtractedToken & Conditions>;
1153
+ //# sourceMappingURL=helpers.d.ts.map