xo 0.52.2 → 0.52.4

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 (944) hide show
  1. package/lib/options-manager.js +5 -4
  2. package/node_modules/@typescript-eslint/eslint-plugin/README.md +1 -1
  3. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js +1 -1
  4. package/node_modules/@typescript-eslint/eslint-plugin/dist/index.js.map +1 -1
  5. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/adjacent-overload-signatures.js.map +1 -1
  6. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/array-type.js.map +1 -1
  7. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map +1 -1
  8. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-tslint-comment.js.map +1 -1
  9. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-types.js.map +1 -1
  10. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js +1 -1
  11. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/brace-style.js.map +1 -1
  12. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js +1 -1
  13. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/class-literal-property-style.js.map +1 -1
  14. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js +1 -1
  15. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-dangle.js.map +1 -1
  16. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js +2 -0
  17. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/comma-spacing.js.map +1 -1
  18. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-generic-constructors.js.map +1 -1
  19. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-indexed-object-style.js.map +1 -1
  20. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js +1 -1
  21. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-assertions.js.map +1 -1
  22. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-definitions.js.map +1 -1
  23. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-exports.js.map +1 -1
  24. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/consistent-type-imports.js.map +1 -1
  25. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js +1 -1
  26. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/default-param-last.js.map +1 -1
  27. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js +7 -7
  28. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/dot-notation.js.map +1 -1
  29. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-function-return-type.js.map +1 -1
  30. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-member-accessibility.js.map +1 -1
  31. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js +1 -1
  32. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/explicit-module-boundary-types.js.map +1 -1
  33. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/func-call-spacing.js.map +1 -1
  34. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js +1 -1
  35. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent.js.map +1 -1
  36. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js +1 -1
  37. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/init-declarations.js.map +1 -1
  38. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js +1 -1
  39. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/keyword-spacing.js.map +1 -1
  40. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js +1 -1
  41. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/lines-between-class-members.js.map +1 -1
  42. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-delimiter-style.js.map +1 -1
  43. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/member-ordering.js.map +1 -1
  44. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/method-signature-style.js.map +1 -1
  45. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js +1 -1
  46. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/schema.js.map +1 -1
  47. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/shared.js.map +1 -1
  48. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js +1 -1
  49. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention-utils/validator.js.map +1 -1
  50. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js +1 -1
  51. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/naming-convention.js.map +1 -1
  52. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-array-constructor.js.map +1 -1
  53. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-base-to-string.js.map +1 -1
  54. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-non-null-assertion.js.map +1 -1
  55. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-confusing-void-expression.js.map +1 -1
  56. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js +1 -1
  57. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dupe-class-members.js.map +1 -1
  58. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-enum-values.js.map +1 -1
  59. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js +1 -1
  60. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-duplicate-imports.js.map +1 -1
  61. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-dynamic-delete.js.map +1 -1
  62. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js +1 -1
  63. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-function.js.map +1 -1
  64. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-empty-interface.js.map +1 -1
  65. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-explicit-any.js.map +1 -1
  66. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-non-null-assertion.js.map +1 -1
  67. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js +3 -2
  68. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-parens.js.map +1 -1
  69. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js +1 -1
  70. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extra-semi.js.map +1 -1
  71. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-extraneous-class.js.map +1 -1
  72. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js +1 -1
  73. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-floating-promises.js.map +1 -1
  74. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-for-in-array.js.map +1 -1
  75. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js +1 -1
  76. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implicit-any-catch.js.map +1 -1
  77. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js +1 -1
  78. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-implied-eval.js.map +1 -1
  79. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js +0 -1
  80. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-inferrable-types.js.map +1 -1
  81. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js +1 -1
  82. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-this.js.map +1 -1
  83. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js +19 -1
  84. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-invalid-void-type.js.map +1 -1
  85. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js +1 -1
  86. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loop-func.js.map +1 -1
  87. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js.map +1 -1
  88. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-magic-numbers.js.map +1 -1
  89. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js +1 -1
  90. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-meaningless-void-operator.js.map +1 -1
  91. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-new.js.map +1 -1
  92. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-misused-promises.js.map +1 -1
  93. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-namespace.js.map +1 -1
  94. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js +1 -1
  95. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-nullish-coalescing.js.map +1 -1
  96. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js +1 -1
  97. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-asserted-optional-chain.js.map +1 -1
  98. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-non-null-assertion.js.map +1 -1
  99. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-parameter-properties.js.map +1 -1
  100. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redeclare.js.map +1 -1
  101. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-redundant-type-constituents.js.map +1 -1
  102. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-require-imports.js.map +1 -1
  103. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-restricted-imports.js.map +1 -1
  104. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js +1 -1
  105. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-shadow.js.map +1 -1
  106. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-this-alias.js.map +1 -1
  107. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js +1 -1
  108. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-throw-literal.js.map +1 -1
  109. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-type-alias.js.map +1 -1
  110. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-boolean-literal-compare.js.map +1 -1
  111. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js +1 -1
  112. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-condition.js.map +1 -1
  113. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js +1 -1
  114. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-qualifier.js.map +1 -1
  115. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-arguments.js.map +1 -1
  116. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-assertion.js.map +1 -1
  117. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unnecessary-type-constraint.js.map +1 -1
  118. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-argument.js.map +1 -1
  119. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-assignment.js.map +1 -1
  120. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-call.js.map +1 -1
  121. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-member-access.js.map +1 -1
  122. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unsafe-return.js.map +1 -1
  123. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js +1 -1
  124. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-expressions.js.map +1 -1
  125. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js +1 -1
  126. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-unused-vars.js.map +1 -1
  127. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js +1 -1
  128. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-use-before-define.js.map +1 -1
  129. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js +1 -1
  130. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-constructor.js.map +1 -1
  131. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-useless-empty-export.js.map +1 -1
  132. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-var-requires.js.map +1 -1
  133. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/non-nullable-type-assertion-style.js.map +1 -1
  134. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js +1 -1
  135. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/object-curly-spacing.js.map +1 -1
  136. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/padding-line-between-statements.js.map +1 -1
  137. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/parameter-properties.js.map +1 -1
  138. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-as-const.js.map +1 -1
  139. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-enum-initializers.js.map +1 -1
  140. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-for-of.js.map +1 -1
  141. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-function-type.js.map +1 -1
  142. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map +1 -1
  143. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-literal-enum-member.js.map +1 -1
  144. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-namespace-keyword.js.map +1 -1
  145. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js +1 -1
  146. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-nullish-coalescing.js.map +1 -1
  147. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js +70 -166
  148. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-optional-chain.js.map +1 -1
  149. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly-parameter-types.js.map +1 -1
  150. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js +1 -1
  151. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-readonly.js.map +1 -1
  152. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-reduce-type-parameter.js.map +1 -1
  153. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-regexp-exec.js.map +1 -1
  154. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-return-this-type.js.map +1 -1
  155. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-string-starts-ends-with.js.map +1 -1
  156. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js +1 -1
  157. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-ts-expect-error.js.map +1 -1
  158. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/promise-function-async.js.map +1 -1
  159. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js +1 -1
  160. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/quotes.js.map +1 -1
  161. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-array-sort-compare.js.map +1 -1
  162. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/require-await.js.map +1 -1
  163. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-plus-operands.js.map +1 -1
  164. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/restrict-template-expressions.js.map +1 -1
  165. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/return-await.js.map +1 -1
  166. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js +1 -1
  167. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/semi.js.map +1 -1
  168. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js +9 -0
  169. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/sort-type-union-intersection-members.js.map +1 -1
  170. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js +2 -1
  171. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-blocks.js.map +1 -1
  172. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js +1 -0
  173. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-before-function-paren.js.map +1 -1
  174. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js +1 -1
  175. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/space-infix-ops.js.map +1 -1
  176. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js +54 -25
  177. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/strict-boolean-expressions.js.map +1 -1
  178. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js +1 -1
  179. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/switch-exhaustiveness-check.js.map +1 -1
  180. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/triple-slash-reference.js.map +1 -1
  181. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js +3 -1
  182. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/type-annotation-spacing.js.map +1 -1
  183. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/typedef.js.map +1 -1
  184. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js +2 -1
  185. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unbound-method.js.map +1 -1
  186. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/unified-signatures.js.map +1 -1
  187. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js +1 -1
  188. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/astUtils.js.map +1 -1
  189. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js +1 -1
  190. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map +1 -1
  191. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/explicitReturnTypeUtils.js.map +1 -1
  192. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getESLintCoreRule.js.map +1 -1
  193. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getFunctionHeadLoc.js.map +1 -1
  194. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getThisExpression.js.map +1 -1
  195. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/getWrappingFixer.js.map +1 -1
  196. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js +3 -3
  197. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/index.js.map +1 -1
  198. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNodeEqual.js.map +1 -1
  199. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isNullLiteral.js.map +1 -1
  200. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/isUndefinedIdentifier.js.map +1 -1
  201. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js +1 -1
  202. package/node_modules/@typescript-eslint/eslint-plugin/dist/util/misc.js.map +1 -1
  203. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-parameter-properties.md +1 -1
  204. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/no-throw-literal.md +1 -2
  205. package/node_modules/@typescript-eslint/eslint-plugin/docs/rules/prefer-optional-chain.md +1 -11
  206. package/node_modules/@typescript-eslint/eslint-plugin/index.d.ts +1 -1
  207. package/node_modules/@typescript-eslint/eslint-plugin/package.json +5 -6
  208. package/node_modules/@typescript-eslint/parser/README.md +1 -1
  209. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/index.d.ts +4 -0
  210. package/node_modules/@typescript-eslint/parser/_ts3.4/dist/parser.d.ts +22 -0
  211. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +5 -3
  212. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -1
  213. package/node_modules/@typescript-eslint/parser/dist/parser.js +1 -1
  214. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -1
  215. package/node_modules/@typescript-eslint/parser/package.json +5 -5
  216. package/node_modules/@typescript-eslint/scope-manager/README.md +1 -1
  217. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +4 -3
  218. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -1
  219. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -1
  220. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +2 -2
  221. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -1
  222. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +1 -1
  223. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -1
  224. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +2 -2
  225. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -1
  226. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +1 -1
  227. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -1
  228. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +2 -2
  229. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -1
  230. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +1 -1
  231. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -1
  232. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +11 -11
  233. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -1
  234. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +2 -2
  235. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -1
  236. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -1
  237. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +2 -2
  238. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -1
  239. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +1 -1
  240. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -1
  241. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +2 -2
  242. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -1
  243. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +1 -1
  244. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -1
  245. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +2 -2
  246. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -1
  247. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +1 -1
  248. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -1
  249. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +2 -2
  250. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -1
  251. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +1 -1
  252. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -1
  253. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +2 -2
  254. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -1
  255. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +1 -1
  256. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -1
  257. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +2 -2
  258. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -1
  259. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +1 -1
  260. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -1
  261. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +2 -2
  262. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -1
  263. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +1 -1
  264. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -1
  265. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +2 -2
  266. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -1
  267. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +1 -1
  268. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -1
  269. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +2 -2
  270. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -1
  271. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +1 -1
  272. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -1
  273. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +1 -1
  274. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -1
  275. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +1 -1
  276. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -1
  277. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +0 -3
  278. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -1
  279. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +8 -23
  280. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -1
  281. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +1 -1
  282. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -1
  283. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +1 -1
  284. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -1
  285. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +1 -1
  286. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -1
  287. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +1 -1
  288. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -1
  289. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +1 -1
  290. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -1
  291. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +1 -1
  292. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -1
  293. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +1 -1
  294. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -1
  295. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +2 -2
  296. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -1
  297. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +1 -1
  298. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -1
  299. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +1 -1
  300. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -1
  301. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +1 -1
  302. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -1
  303. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +1 -1
  304. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -1
  305. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +1 -1
  306. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -1
  307. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +1 -1
  308. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -1
  309. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +1 -1
  310. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -1
  311. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +1 -1
  312. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -1
  313. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +1 -1
  314. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -1
  315. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +3 -3
  316. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -1
  317. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +1 -1
  318. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -1
  319. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +1 -1
  320. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -1
  321. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +3 -3
  322. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -1
  323. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +1 -1
  324. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -1
  325. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +1 -1
  326. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -1
  327. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +1 -1
  328. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -1
  329. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +1 -1
  330. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -1
  331. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +1 -1
  332. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -1
  333. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +1 -1
  334. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -1
  335. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +1 -1
  336. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -1
  337. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +1 -1
  338. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -1
  339. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +1 -1
  340. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -1
  341. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +1 -1
  342. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -1
  343. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +2 -2
  344. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -1
  345. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +1 -1
  346. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -1
  347. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +1 -1
  348. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -1
  349. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +3 -3
  350. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -1
  351. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +1 -1
  352. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -1
  353. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +2 -2
  354. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -1
  355. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +1 -1
  356. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -1
  357. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +1 -1
  358. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -1
  359. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +1 -1
  360. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -1
  361. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +1 -1
  362. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -1
  363. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +1 -1
  364. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -1
  365. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +3 -3
  366. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -1
  367. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +1 -1
  368. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -1
  369. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +1 -1
  370. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -1
  371. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +1 -1
  372. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -1
  373. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +1 -1
  374. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -1
  375. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +1 -1
  376. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -1
  377. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +1 -1
  378. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -1
  379. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +1 -1
  380. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -1
  381. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +1 -1
  382. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -1
  383. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +1 -1
  384. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -1
  385. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +1 -1
  386. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -1
  387. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +3 -3
  388. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -1
  389. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +1 -1
  390. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -1
  391. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +2 -3
  392. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -1
  393. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +1 -1
  394. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -1
  395. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +1 -1
  396. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -1
  397. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +1 -1
  398. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -1
  399. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +1 -1
  400. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -1
  401. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +1 -1
  402. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -1
  403. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +1 -1
  404. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -1
  405. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +1 -1
  406. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -1
  407. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +1 -1
  408. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -1
  409. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +1 -1
  410. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -1
  411. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +1 -1
  412. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -1
  413. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +1 -1
  414. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -1
  415. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +3 -3
  416. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -1
  417. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +1 -1
  418. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -1
  419. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +1 -1
  420. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -1
  421. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +1 -1
  422. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -1
  423. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +1 -1
  424. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -1
  425. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +1 -1
  426. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -1
  427. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +1 -1
  428. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -1
  429. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +1 -1
  430. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -1
  431. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +1 -1
  432. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -1
  433. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +1 -1
  434. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -1
  435. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +3 -3
  436. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -1
  437. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
  438. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
  439. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
  440. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
  441. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +3 -1
  442. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -1
  443. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +1 -1
  444. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -1
  445. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
  446. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
  447. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
  448. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
  449. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +1 -1
  450. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -1
  451. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +1 -1
  452. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -1
  453. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +1 -1
  454. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -1
  455. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +2 -2
  456. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -1
  457. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +1 -1
  458. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -1
  459. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +1 -1
  460. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -1
  461. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +1 -1
  462. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -1
  463. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +2 -2
  464. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -1
  465. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +1 -1
  466. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -1
  467. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +1 -1
  468. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -1
  469. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +1 -1
  470. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -1
  471. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +1 -1
  472. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -1
  473. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +3 -3
  474. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -1
  475. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +1 -1
  476. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -1
  477. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +1 -1
  478. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -1
  479. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +1 -1
  480. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -1
  481. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +1 -1
  482. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -1
  483. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +1 -1
  484. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -1
  485. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +2 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -1
  487. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +35 -31
  488. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -1
  489. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +1 -1
  490. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -1
  491. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +2 -2
  492. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -1
  493. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +1 -1
  494. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -1
  495. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +1 -1
  496. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -1
  497. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +1 -1
  498. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -1
  499. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +1 -1
  500. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -1
  501. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +7 -6
  502. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -1
  503. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +2 -3
  504. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -1
  505. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +3 -4
  506. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -1
  507. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +2 -2
  508. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -1
  509. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -1
  510. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +2 -2
  511. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -1
  512. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -1
  513. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +3 -2
  514. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -1
  515. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -1
  516. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +3 -3
  517. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -1
  518. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -1
  519. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +6 -5
  520. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -1
  521. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +3 -3
  522. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -1
  523. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +2 -2
  524. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -1
  525. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +1 -1
  526. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -1
  527. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +2 -2
  528. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -1
  529. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +1 -1
  530. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -1
  531. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +1 -1
  532. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -1
  533. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +3 -3
  534. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -1
  535. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -1
  536. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +3 -3
  537. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -1
  538. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -1
  539. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +3 -3
  540. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -1
  541. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -1
  542. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +3 -3
  543. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -1
  544. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -1
  545. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +3 -3
  546. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -1
  547. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -1
  548. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +3 -3
  549. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -1
  550. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -1
  551. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +3 -3
  552. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -1
  553. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -1
  554. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +3 -3
  555. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -1
  556. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +1 -1
  557. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -1
  558. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +5 -5
  559. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -1
  560. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -1
  561. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +3 -3
  562. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -1
  563. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -1
  564. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +4 -4
  565. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -1
  566. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +2 -2
  567. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -1
  568. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +3 -3
  569. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -1
  570. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -1
  571. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +3 -3
  572. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -1
  573. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -1
  574. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +18 -18
  575. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -1
  576. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +11 -10
  577. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -1
  578. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +1 -1
  579. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -1
  580. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +3 -3
  581. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -1
  582. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -1
  583. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +3 -3
  584. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -1
  585. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -1
  586. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +3 -3
  587. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -1
  588. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -1
  589. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +3 -3
  590. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -1
  591. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -1
  592. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +3 -3
  593. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -1
  594. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +1 -1
  595. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -1
  596. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +1 -1
  597. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -1
  598. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -1
  599. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +2 -2
  600. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -1
  601. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -1
  602. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +4 -4
  603. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -1
  604. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -1
  605. package/node_modules/@typescript-eslint/scope-manager/package.json +5 -5
  606. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/containsAllTypesByName.d.ts +8 -0
  607. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getConstrainedTypeAtLocation.d.ts +6 -0
  608. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getContextualType.d.ts +8 -0
  609. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getDeclaration.d.ts +6 -0
  610. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getSourceFileOfNode.d.ts +6 -0
  611. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTokenAtPosition.d.ts +3 -0
  612. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeArguments.d.ts +3 -0
  613. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/getTypeName.d.ts +8 -0
  614. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/index.d.ts +16 -0
  615. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isTypeReadonly.d.ts +20 -0
  616. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/isUnsafeAssignment.d.ts +17 -0
  617. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/predicates.d.ts +52 -0
  618. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/propertyTypes.d.ts +4 -0
  619. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/requiresQuoting.d.ts +4 -0
  620. package/node_modules/@typescript-eslint/type-utils/_ts3.4/dist/typeFlagUtils.d.ts +11 -0
  621. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.d.ts.map +1 -1
  622. package/node_modules/@typescript-eslint/type-utils/dist/containsAllTypesByName.js.map +1 -1
  623. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts +1 -1
  624. package/node_modules/@typescript-eslint/type-utils/dist/getConstrainedTypeAtLocation.d.ts.map +1 -1
  625. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts +1 -1
  626. package/node_modules/@typescript-eslint/type-utils/dist/getDeclaration.d.ts.map +1 -1
  627. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts +1 -1
  628. package/node_modules/@typescript-eslint/type-utils/dist/getTypeArguments.d.ts.map +1 -1
  629. package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts +1 -0
  630. package/node_modules/@typescript-eslint/type-utils/dist/index.d.ts.map +1 -1
  631. package/node_modules/@typescript-eslint/type-utils/dist/index.js +5 -0
  632. package/node_modules/@typescript-eslint/type-utils/dist/index.js.map +1 -1
  633. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.d.ts.map +1 -1
  634. package/node_modules/@typescript-eslint/type-utils/dist/isTypeReadonly.js.map +1 -1
  635. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts +2 -2
  636. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.d.ts.map +1 -1
  637. package/node_modules/@typescript-eslint/type-utils/dist/isUnsafeAssignment.js.map +1 -1
  638. package/node_modules/@typescript-eslint/type-utils/dist/predicates.d.ts.map +1 -1
  639. package/node_modules/@typescript-eslint/type-utils/dist/predicates.js.map +1 -1
  640. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts +1 -1
  641. package/node_modules/@typescript-eslint/type-utils/dist/propertyTypes.d.ts.map +1 -1
  642. package/node_modules/@typescript-eslint/type-utils/package.json +5 -4
  643. package/node_modules/@typescript-eslint/types/_ts3.4/dist/generated/ast-spec.d.ts +1732 -0
  644. package/node_modules/@typescript-eslint/types/_ts3.4/dist/index.d.ts +5 -0
  645. package/node_modules/@typescript-eslint/types/_ts3.4/dist/lib.d.ts +3 -0
  646. package/node_modules/@typescript-eslint/types/_ts3.4/dist/parser-options.d.ts +36 -0
  647. package/node_modules/@typescript-eslint/types/_ts3.4/dist/ts-estree.d.ts +9 -0
  648. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +2 -2
  649. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -1
  650. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +1 -1
  651. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -1
  652. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +1 -1
  653. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -1
  654. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +1 -1
  655. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -1
  656. package/node_modules/@typescript-eslint/types/package.json +2 -2
  657. package/node_modules/@typescript-eslint/typescript-estree/README.md +1 -1
  658. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ast-converter.d.ts +9 -0
  659. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert-comments.d.ts +11 -0
  660. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/convert.d.ts +159 -0
  661. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
  662. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createDefaultProgram.d.ts +12 -0
  663. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createIsolatedProgram.d.ts +9 -0
  664. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createProjectProgram.d.ts +11 -0
  665. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createSourceFile.d.ts +5 -0
  666. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/createWatchProgram.d.ts +19 -0
  667. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/getScriptKind.d.ts +5 -0
  668. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/shared.d.ts +22 -0
  669. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/create-program/useProvidedPrograms.d.ts +13 -0
  670. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/getModifiers.d.ts +4 -0
  671. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/index.d.ts +12 -0
  672. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/jsx/xhtml-entities.d.ts +2 -0
  673. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/node-utils.d.ts +231 -0
  674. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser-options.d.ts +188 -0
  675. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/parser.d.ts +25 -0
  676. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/semantic-or-syntactic-errors.d.ts +13 -0
  677. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/simple-traverse.d.ts +9 -0
  678. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
  679. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/index.d.ts +4 -0
  680. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/ts-estree/ts-nodes.d.ts +18 -0
  681. package/node_modules/@typescript-eslint/typescript-estree/_ts3.4/dist/version-check.d.ts +3 -0
  682. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +1 -1
  683. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +1 -1
  684. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -1
  685. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +1 -1
  686. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +1 -1
  687. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +1 -1
  688. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -1
  689. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +5 -3
  690. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -1
  691. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +63 -28
  692. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -1
  693. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +1 -1
  694. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +1 -1
  695. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +2 -2
  696. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -1
  697. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -1
  698. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +2 -2
  699. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -1
  700. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +1 -1
  701. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -1
  702. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +2 -2
  703. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -1
  704. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +1 -1
  705. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -1
  706. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +1 -1
  707. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +1 -1
  708. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -1
  709. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +1 -1
  710. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +1 -1
  711. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -1
  712. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +2 -2
  713. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -1
  714. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -1
  715. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +2 -2
  716. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +1 -1
  717. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -1
  718. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +4 -0
  719. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -0
  720. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +68 -0
  721. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
  722. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +2 -0
  723. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -1
  724. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +4 -1
  725. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -1
  726. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +2 -1
  727. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -1
  728. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +12 -10
  729. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -1
  730. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +4 -4
  731. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -1
  732. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +2 -2
  733. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -1
  734. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +3 -3
  735. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -1
  736. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +1 -1
  737. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -1
  738. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -1
  739. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +3 -3
  740. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -1
  741. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +0 -1
  742. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -1
  743. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +1 -1
  744. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -1
  745. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +1 -1
  746. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -1
  747. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +8 -1
  748. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -1
  749. package/node_modules/@typescript-eslint/typescript-estree/package.json +5 -5
  750. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/PatternMatcher.d.ts +48 -0
  751. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +76 -0
  752. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts +76 -0
  753. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/index.d.ts +6 -0
  754. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/predicates.d.ts +32 -0
  755. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +18 -0
  756. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/helpers.d.ts +1153 -0
  757. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/index.d.ts +5 -0
  758. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/misc.d.ts +8 -0
  759. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ast-utils/predicates.d.ts +58 -0
  760. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/InferTypesFromRule.d.ts +11 -0
  761. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleCreator.d.ts +35 -0
  762. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/RuleTester.d.ts +18 -0
  763. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/applyDefault.d.ts +10 -0
  764. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/batchedSingleLineTests.d.ts +24 -0
  765. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/deepMerge.d.ts +17 -0
  766. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/getParserServices.d.ts +8 -0
  767. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/index.d.ts +9 -0
  768. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/eslint-utils/nullThrows.d.ts +14 -0
  769. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/index.d.ts +8 -0
  770. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/json-schema.d.ts +2 -0
  771. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/AST.d.ts +9 -0
  772. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/CLIEngine.d.ts +137 -0
  773. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ESLint.d.ts +376 -0
  774. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Linter.d.ts +326 -0
  775. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/ParserOptions.d.ts +2 -0
  776. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Rule.d.ts +393 -0
  777. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/RuleTester.d.ts +154 -0
  778. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/Scope.d.ts +44 -0
  779. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/SourceCode.d.ts +342 -0
  780. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint/index.d.ts +10 -0
  781. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Definition.d.ts +19 -0
  782. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Options.d.ts +15 -0
  783. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/PatternVisitor.d.ts +25 -0
  784. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Reference.d.ts +28 -0
  785. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Referencer.d.ts +55 -0
  786. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Scope.d.ts +103 -0
  787. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/ScopeManager.d.ts +50 -0
  788. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/Variable.d.ts +17 -0
  789. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/analyze.d.ts +16 -0
  790. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-eslint-scope/index.d.ts +11 -0
  791. package/node_modules/@typescript-eslint/utils/_ts3.4/dist/ts-estree.d.ts +3 -0
  792. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts +2 -2
  793. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.d.ts.map +1 -1
  794. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/ReferenceTracker.js.map +1 -1
  795. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts +2 -2
  796. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.d.ts.map +1 -1
  797. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/astUtilities.js.map +1 -1
  798. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts +1 -1
  799. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.d.ts.map +1 -1
  800. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/predicates.js.map +1 -1
  801. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts +2 -2
  802. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts.map +1 -1
  803. package/node_modules/@typescript-eslint/utils/dist/ast-utils/eslint-utils/scopeAnalysis.js.map +1 -1
  804. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts +1132 -26
  805. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.d.ts.map +1 -1
  806. package/node_modules/@typescript-eslint/utils/dist/ast-utils/helpers.js.map +1 -1
  807. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts +1 -1
  808. package/node_modules/@typescript-eslint/utils/dist/ast-utils/misc.d.ts.map +1 -1
  809. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts +15 -137
  810. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.d.ts.map +1 -1
  811. package/node_modules/@typescript-eslint/utils/dist/ast-utils/predicates.js.map +1 -1
  812. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts +1 -1
  813. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/InferTypesFromRule.d.ts.map +1 -1
  814. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts +1 -1
  815. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.d.ts.map +1 -1
  816. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.d.ts.map +1 -1
  817. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleTester.js.map +1 -1
  818. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/batchedSingleLineTests.d.ts +1 -1
  819. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/batchedSingleLineTests.d.ts.map +1 -1
  820. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts +2 -2
  821. package/node_modules/@typescript-eslint/utils/dist/eslint-utils/getParserServices.d.ts.map +1 -1
  822. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts +1 -1
  823. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/AST.d.ts.map +1 -1
  824. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts +2 -2
  825. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.d.ts.map +1 -1
  826. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js +1 -0
  827. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/CLIEngine.js.map +1 -1
  828. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts +1 -1
  829. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.d.ts.map +1 -1
  830. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/ESLint.js.map +1 -1
  831. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts +5 -5
  832. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.d.ts.map +1 -1
  833. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/Linter.js.map +1 -1
  834. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts +4 -4
  835. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.d.ts.map +1 -1
  836. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/RuleTester.js.map +1 -1
  837. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts +2 -2
  838. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.d.ts.map +1 -1
  839. package/node_modules/@typescript-eslint/utils/dist/ts-eslint/SourceCode.js.map +1 -1
  840. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts +1 -1
  841. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.d.ts.map +1 -1
  842. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Definition.js.map +1 -1
  843. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts +1 -1
  844. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Options.d.ts.map +1 -1
  845. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.d.ts +3 -3
  846. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.d.ts.map +1 -1
  847. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/PatternVisitor.js.map +1 -1
  848. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts +3 -3
  849. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.d.ts.map +1 -1
  850. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Reference.js.map +1 -1
  851. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.d.ts +4 -4
  852. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.d.ts.map +1 -1
  853. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Referencer.js.map +1 -1
  854. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts +5 -5
  855. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.d.ts.map +1 -1
  856. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Scope.js.map +1 -1
  857. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/ScopeManager.d.ts +4 -4
  858. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/ScopeManager.d.ts.map +1 -1
  859. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/ScopeManager.js.map +1 -1
  860. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Variable.d.ts +4 -4
  861. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Variable.d.ts.map +1 -1
  862. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/Variable.js.map +1 -1
  863. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts +3 -3
  864. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.d.ts.map +1 -1
  865. package/node_modules/@typescript-eslint/utils/dist/ts-eslint-scope/analyze.js.map +1 -1
  866. package/node_modules/@typescript-eslint/utils/package.json +5 -5
  867. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/get-keys.d.ts +4 -0
  868. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/index.d.ts +3 -0
  869. package/node_modules/@typescript-eslint/visitor-keys/_ts3.4/dist/visitor-keys.d.ts +6 -0
  870. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +1 -1
  871. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -1
  872. package/node_modules/@typescript-eslint/visitor-keys/package.json +3 -3
  873. package/node_modules/fast-glob/out/index.d.ts +27 -27
  874. package/node_modules/fast-glob/out/index.js +68 -68
  875. package/node_modules/fast-glob/out/managers/patterns.d.ts +6 -6
  876. package/node_modules/fast-glob/out/managers/patterns.js +21 -21
  877. package/node_modules/fast-glob/out/managers/tasks.d.ts +22 -22
  878. package/node_modules/fast-glob/out/managers/tasks.js +80 -80
  879. package/node_modules/fast-glob/out/providers/async.d.ts +9 -11
  880. package/node_modules/fast-glob/out/providers/async.js +23 -28
  881. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +16 -16
  882. package/node_modules/fast-glob/out/providers/filters/deep.js +62 -62
  883. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +16 -20
  884. package/node_modules/fast-glob/out/providers/filters/entry.js +64 -60
  885. package/node_modules/fast-glob/out/providers/filters/error.d.ts +8 -8
  886. package/node_modules/fast-glob/out/providers/filters/error.js +15 -15
  887. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +33 -33
  888. package/node_modules/fast-glob/out/providers/matchers/matcher.js +50 -50
  889. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +4 -4
  890. package/node_modules/fast-glob/out/providers/matchers/partial.js +38 -38
  891. package/node_modules/fast-glob/out/providers/provider.d.ts +19 -19
  892. package/node_modules/fast-glob/out/providers/provider.js +48 -48
  893. package/node_modules/fast-glob/out/providers/stream.d.ts +11 -11
  894. package/node_modules/fast-glob/out/providers/stream.js +31 -31
  895. package/node_modules/fast-glob/out/providers/sync.d.ts +9 -9
  896. package/node_modules/fast-glob/out/providers/sync.js +23 -23
  897. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +8 -8
  898. package/node_modules/fast-glob/out/providers/transformers/entry.js +26 -26
  899. package/node_modules/fast-glob/out/readers/async.d.ts +10 -0
  900. package/node_modules/fast-glob/out/readers/async.js +35 -0
  901. package/node_modules/fast-glob/out/readers/reader.d.ts +15 -15
  902. package/node_modules/fast-glob/out/readers/reader.js +33 -33
  903. package/node_modules/fast-glob/out/readers/stream.d.ts +14 -14
  904. package/node_modules/fast-glob/out/readers/stream.js +55 -55
  905. package/node_modules/fast-glob/out/readers/sync.d.ts +12 -12
  906. package/node_modules/fast-glob/out/readers/sync.js +43 -43
  907. package/node_modules/fast-glob/out/settings.d.ts +164 -164
  908. package/node_modules/fast-glob/out/settings.js +57 -57
  909. package/node_modules/fast-glob/out/types/index.d.ts +31 -31
  910. package/node_modules/fast-glob/out/types/index.js +2 -2
  911. package/node_modules/fast-glob/out/utils/array.d.ts +2 -2
  912. package/node_modules/fast-glob/out/utils/array.js +22 -22
  913. package/node_modules/fast-glob/out/utils/errno.d.ts +2 -2
  914. package/node_modules/fast-glob/out/utils/errno.js +7 -7
  915. package/node_modules/fast-glob/out/utils/fs.d.ts +4 -4
  916. package/node_modules/fast-glob/out/utils/fs.js +19 -19
  917. package/node_modules/fast-glob/out/utils/index.d.ts +8 -8
  918. package/node_modules/fast-glob/out/utils/index.js +17 -17
  919. package/node_modules/fast-glob/out/utils/path.d.ts +8 -8
  920. package/node_modules/fast-glob/out/utils/path.js +33 -33
  921. package/node_modules/fast-glob/out/utils/pattern.d.ts +42 -42
  922. package/node_modules/fast-glob/out/utils/pattern.js +169 -169
  923. package/node_modules/fast-glob/out/utils/stream.d.ts +3 -3
  924. package/node_modules/fast-glob/out/utils/stream.js +17 -17
  925. package/node_modules/fast-glob/out/utils/string.d.ts +2 -2
  926. package/node_modules/fast-glob/out/utils/string.js +11 -11
  927. package/node_modules/fast-glob/package.json +1 -1
  928. package/package.json +1 -1
  929. package/readme.md +6 -4
  930. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/BinarySearchTree.js +0 -55
  931. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/BinarySearchTree.js.map +0 -1
  932. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/OffsetStorage.js +0 -221
  933. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/OffsetStorage.js.map +0 -1
  934. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/TokenInfo.js +0 -49
  935. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/TokenInfo.js.map +0 -1
  936. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js +0 -1140
  937. package/node_modules/@typescript-eslint/eslint-plugin/dist/rules/indent-new-do-not-use/index.js.map +0 -1
  938. package/node_modules/functional-red-black-tree/.npmignore +0 -16
  939. package/node_modules/functional-red-black-tree/LICENSE +0 -22
  940. package/node_modules/functional-red-black-tree/README.md +0 -237
  941. package/node_modules/functional-red-black-tree/bench/test.js +0 -11
  942. package/node_modules/functional-red-black-tree/package.json +0 -40
  943. package/node_modules/functional-red-black-tree/rbtree.js +0 -996
  944. package/node_modules/functional-red-black-tree/test/test.js +0 -479
@@ -0,0 +1,175 @@
1
+ import { AST_NODE_TYPES, TSESTree } from '@typescript-eslint/types';
2
+ import * as ts from 'typescript';
3
+ import { TSNode } from './ts-nodes';
4
+ export interface EstreeToTsNodeTypes {
5
+ [AST_NODE_TYPES.ArrayExpression]: ts.ArrayLiteralExpression;
6
+ [AST_NODE_TYPES.ArrayPattern]: ts.ArrayLiteralExpression | ts.ArrayBindingPattern;
7
+ [AST_NODE_TYPES.ArrowFunctionExpression]: ts.ArrowFunction;
8
+ [AST_NODE_TYPES.AssignmentExpression]: ts.BinaryExpression;
9
+ [AST_NODE_TYPES.AssignmentPattern]: ts.ShorthandPropertyAssignment | ts.BindingElement | ts.BinaryExpression | ts.ParameterDeclaration;
10
+ [AST_NODE_TYPES.AwaitExpression]: ts.AwaitExpression;
11
+ [AST_NODE_TYPES.BinaryExpression]: ts.BinaryExpression;
12
+ [AST_NODE_TYPES.BlockStatement]: ts.Block;
13
+ [AST_NODE_TYPES.BreakStatement]: ts.BreakStatement;
14
+ [AST_NODE_TYPES.CallExpression]: ts.CallExpression;
15
+ [AST_NODE_TYPES.CatchClause]: ts.CatchClause;
16
+ [AST_NODE_TYPES.ChainExpression]: ts.CallExpression | ts.PropertyAccessExpression | ts.ElementAccessExpression | ts.NonNullExpression;
17
+ [AST_NODE_TYPES.ClassBody]: ts.ClassDeclaration | ts.ClassExpression;
18
+ [AST_NODE_TYPES.ClassDeclaration]: ts.ClassDeclaration;
19
+ [AST_NODE_TYPES.ClassExpression]: ts.ClassExpression;
20
+ [AST_NODE_TYPES.PropertyDefinition]: ts.PropertyDeclaration;
21
+ [AST_NODE_TYPES.ConditionalExpression]: ts.ConditionalExpression;
22
+ [AST_NODE_TYPES.ContinueStatement]: ts.ContinueStatement;
23
+ [AST_NODE_TYPES.DebuggerStatement]: ts.DebuggerStatement;
24
+ [AST_NODE_TYPES.Decorator]: ts.Decorator;
25
+ [AST_NODE_TYPES.DoWhileStatement]: ts.DoStatement;
26
+ [AST_NODE_TYPES.EmptyStatement]: ts.EmptyStatement;
27
+ [AST_NODE_TYPES.ExportAllDeclaration]: ts.ExportDeclaration;
28
+ [AST_NODE_TYPES.ExportDefaultDeclaration]: ts.ExportAssignment | ts.FunctionDeclaration | ts.VariableStatement | ts.ClassDeclaration | ts.ClassExpression | ts.TypeAliasDeclaration | ts.InterfaceDeclaration | ts.EnumDeclaration | ts.ModuleDeclaration;
29
+ [AST_NODE_TYPES.ExportNamedDeclaration]: ts.ExportDeclaration | ts.FunctionDeclaration | ts.VariableStatement | ts.ClassDeclaration | ts.ClassExpression | ts.TypeAliasDeclaration | ts.InterfaceDeclaration | ts.EnumDeclaration | ts.ModuleDeclaration;
30
+ [AST_NODE_TYPES.ExportSpecifier]: ts.ExportSpecifier;
31
+ [AST_NODE_TYPES.ExpressionStatement]: ts.ExpressionStatement;
32
+ [AST_NODE_TYPES.ForInStatement]: ts.ForInStatement;
33
+ [AST_NODE_TYPES.ForOfStatement]: ts.ForOfStatement;
34
+ [AST_NODE_TYPES.ForStatement]: ts.ForStatement;
35
+ [AST_NODE_TYPES.FunctionDeclaration]: ts.FunctionDeclaration;
36
+ [AST_NODE_TYPES.FunctionExpression]: ts.FunctionExpression | ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration;
37
+ [AST_NODE_TYPES.Identifier]: ts.Identifier | ts.ConstructorDeclaration | ts.Token<ts.SyntaxKind.NewKeyword | ts.SyntaxKind.ImportKeyword>;
38
+ [AST_NODE_TYPES.PrivateIdentifier]: ts.PrivateIdentifier;
39
+ [AST_NODE_TYPES.IfStatement]: ts.IfStatement;
40
+ [AST_NODE_TYPES.ImportAttribute]: ts.AssertEntry;
41
+ [AST_NODE_TYPES.ImportDeclaration]: ts.ImportDeclaration;
42
+ [AST_NODE_TYPES.ImportDefaultSpecifier]: ts.ImportClause;
43
+ [AST_NODE_TYPES.ImportExpression]: ts.CallExpression;
44
+ [AST_NODE_TYPES.ImportNamespaceSpecifier]: ts.NamespaceImport;
45
+ [AST_NODE_TYPES.ImportSpecifier]: ts.ImportSpecifier;
46
+ [AST_NODE_TYPES.JSXAttribute]: ts.JsxAttribute;
47
+ [AST_NODE_TYPES.JSXClosingElement]: ts.JsxClosingElement;
48
+ [AST_NODE_TYPES.JSXClosingFragment]: ts.JsxClosingFragment;
49
+ [AST_NODE_TYPES.JSXElement]: ts.JsxElement | ts.JsxSelfClosingElement;
50
+ [AST_NODE_TYPES.JSXEmptyExpression]: ts.JsxExpression;
51
+ [AST_NODE_TYPES.JSXExpressionContainer]: ts.JsxExpression;
52
+ [AST_NODE_TYPES.JSXFragment]: ts.JsxFragment;
53
+ [AST_NODE_TYPES.JSXIdentifier]: ts.Identifier | ts.ThisExpression;
54
+ [AST_NODE_TYPES.JSXOpeningElement]: ts.JsxOpeningElement | ts.JsxSelfClosingElement;
55
+ [AST_NODE_TYPES.JSXOpeningFragment]: ts.JsxOpeningFragment;
56
+ [AST_NODE_TYPES.JSXSpreadAttribute]: ts.JsxSpreadAttribute;
57
+ [AST_NODE_TYPES.JSXSpreadChild]: ts.JsxExpression;
58
+ [AST_NODE_TYPES.JSXMemberExpression]: ts.PropertyAccessExpression;
59
+ [AST_NODE_TYPES.JSXNamespacedName]: ts.Identifier | ts.ThisExpression;
60
+ [AST_NODE_TYPES.JSXText]: ts.JsxText;
61
+ [AST_NODE_TYPES.LabeledStatement]: ts.LabeledStatement;
62
+ [AST_NODE_TYPES.Literal]: ts.StringLiteral | ts.NumericLiteral | ts.RegularExpressionLiteral | ts.NullLiteral | ts.BooleanLiteral | ts.BigIntLiteral;
63
+ [AST_NODE_TYPES.LogicalExpression]: ts.BinaryExpression;
64
+ [AST_NODE_TYPES.MemberExpression]: ts.PropertyAccessExpression | ts.ElementAccessExpression;
65
+ [AST_NODE_TYPES.MetaProperty]: ts.MetaProperty;
66
+ [AST_NODE_TYPES.MethodDefinition]: ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration | ts.ConstructorDeclaration;
67
+ [AST_NODE_TYPES.NewExpression]: ts.NewExpression;
68
+ [AST_NODE_TYPES.ObjectExpression]: ts.ObjectLiteralExpression;
69
+ [AST_NODE_TYPES.ObjectPattern]: ts.ObjectLiteralExpression | ts.ObjectBindingPattern;
70
+ [AST_NODE_TYPES.Program]: ts.SourceFile;
71
+ [AST_NODE_TYPES.Property]: ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration | ts.BindingElement;
72
+ [AST_NODE_TYPES.RestElement]: ts.BindingElement | ts.SpreadAssignment | ts.SpreadElement | ts.ParameterDeclaration;
73
+ [AST_NODE_TYPES.ReturnStatement]: ts.ReturnStatement;
74
+ [AST_NODE_TYPES.SequenceExpression]: ts.BinaryExpression;
75
+ [AST_NODE_TYPES.SpreadElement]: ts.SpreadElement | ts.SpreadAssignment;
76
+ [AST_NODE_TYPES.StaticBlock]: ts.ClassStaticBlockDeclaration;
77
+ [AST_NODE_TYPES.Super]: ts.SuperExpression;
78
+ [AST_NODE_TYPES.SwitchCase]: ts.CaseClause | ts.DefaultClause;
79
+ [AST_NODE_TYPES.SwitchStatement]: ts.SwitchStatement;
80
+ [AST_NODE_TYPES.TaggedTemplateExpression]: ts.TaggedTemplateExpression;
81
+ [AST_NODE_TYPES.TemplateElement]: ts.NoSubstitutionTemplateLiteral | ts.TemplateHead | ts.TemplateMiddle | ts.TemplateTail;
82
+ [AST_NODE_TYPES.TemplateLiteral]: ts.NoSubstitutionTemplateLiteral | ts.TemplateExpression;
83
+ [AST_NODE_TYPES.ThisExpression]: ts.ThisExpression | ts.KeywordTypeNode | ts.Identifier;
84
+ [AST_NODE_TYPES.ThrowStatement]: ts.ThrowStatement;
85
+ [AST_NODE_TYPES.TryStatement]: ts.TryStatement;
86
+ [AST_NODE_TYPES.TSAbstractPropertyDefinition]: ts.PropertyDeclaration;
87
+ [AST_NODE_TYPES.TSAbstractMethodDefinition]: ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration | ts.ConstructorDeclaration;
88
+ [AST_NODE_TYPES.TSArrayType]: ts.ArrayTypeNode;
89
+ [AST_NODE_TYPES.TSAsExpression]: ts.AsExpression;
90
+ [AST_NODE_TYPES.TSCallSignatureDeclaration]: ts.CallSignatureDeclaration;
91
+ [AST_NODE_TYPES.TSClassImplements]: ts.ExpressionWithTypeArguments;
92
+ [AST_NODE_TYPES.TSConditionalType]: ts.ConditionalTypeNode;
93
+ [AST_NODE_TYPES.TSConstructorType]: ts.ConstructorTypeNode;
94
+ [AST_NODE_TYPES.TSConstructSignatureDeclaration]: ts.ConstructSignatureDeclaration;
95
+ [AST_NODE_TYPES.TSDeclareFunction]: ts.FunctionDeclaration;
96
+ [AST_NODE_TYPES.TSEnumDeclaration]: ts.EnumDeclaration;
97
+ [AST_NODE_TYPES.TSEnumMember]: ts.EnumMember;
98
+ [AST_NODE_TYPES.TSExportAssignment]: ts.ExportAssignment;
99
+ [AST_NODE_TYPES.TSExternalModuleReference]: ts.ExternalModuleReference;
100
+ [AST_NODE_TYPES.TSFunctionType]: ts.FunctionTypeNode;
101
+ [AST_NODE_TYPES.TSImportEqualsDeclaration]: ts.ImportEqualsDeclaration;
102
+ [AST_NODE_TYPES.TSImportType]: ts.ImportTypeNode;
103
+ [AST_NODE_TYPES.TSIndexedAccessType]: ts.IndexedAccessTypeNode;
104
+ [AST_NODE_TYPES.TSIndexSignature]: ts.IndexSignatureDeclaration;
105
+ [AST_NODE_TYPES.TSInferType]: ts.InferTypeNode;
106
+ [AST_NODE_TYPES.TSInterfaceDeclaration]: ts.InterfaceDeclaration;
107
+ [AST_NODE_TYPES.TSInterfaceBody]: ts.InterfaceDeclaration;
108
+ [AST_NODE_TYPES.TSInterfaceHeritage]: ts.ExpressionWithTypeArguments;
109
+ [AST_NODE_TYPES.TSIntersectionType]: ts.IntersectionTypeNode;
110
+ [AST_NODE_TYPES.TSInstantiationExpression]: ts.ExpressionWithTypeArguments;
111
+ [AST_NODE_TYPES.TSLiteralType]: ts.LiteralTypeNode;
112
+ [AST_NODE_TYPES.TSMappedType]: ts.MappedTypeNode;
113
+ [AST_NODE_TYPES.TSMethodSignature]: ts.MethodSignature | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration;
114
+ [AST_NODE_TYPES.TSModuleBlock]: ts.ModuleBlock;
115
+ [AST_NODE_TYPES.TSModuleDeclaration]: ts.ModuleDeclaration;
116
+ [AST_NODE_TYPES.TSNamedTupleMember]: ts.NamedTupleMember;
117
+ [AST_NODE_TYPES.TSNamespaceExportDeclaration]: ts.NamespaceExportDeclaration;
118
+ [AST_NODE_TYPES.TSNonNullExpression]: ts.NonNullExpression;
119
+ [AST_NODE_TYPES.TSOptionalType]: ts.OptionalTypeNode;
120
+ [AST_NODE_TYPES.TSParameterProperty]: ts.ParameterDeclaration;
121
+ [AST_NODE_TYPES.TSPropertySignature]: ts.PropertySignature;
122
+ [AST_NODE_TYPES.TSQualifiedName]: ts.QualifiedName;
123
+ [AST_NODE_TYPES.TSRestType]: ts.RestTypeNode | ts.NamedTupleMember;
124
+ [AST_NODE_TYPES.TSThisType]: ts.ThisTypeNode;
125
+ [AST_NODE_TYPES.TSTupleType]: ts.TupleTypeNode;
126
+ [AST_NODE_TYPES.TSTemplateLiteralType]: ts.TemplateLiteralTypeNode;
127
+ [AST_NODE_TYPES.TSTypeAliasDeclaration]: ts.TypeAliasDeclaration;
128
+ [AST_NODE_TYPES.TSTypeAnnotation]: undefined;
129
+ [AST_NODE_TYPES.TSTypeAssertion]: ts.TypeAssertion;
130
+ [AST_NODE_TYPES.TSTypeLiteral]: ts.TypeLiteralNode;
131
+ [AST_NODE_TYPES.TSTypeOperator]: ts.TypeOperatorNode;
132
+ [AST_NODE_TYPES.TSTypeParameter]: ts.TypeParameterDeclaration;
133
+ [AST_NODE_TYPES.TSTypeParameterDeclaration]: undefined;
134
+ [AST_NODE_TYPES.TSTypeParameterInstantiation]: ts.TaggedTemplateExpression | ts.ImportTypeNode | ts.ExpressionWithTypeArguments | ts.TypeReferenceNode | ts.JsxOpeningElement | ts.JsxSelfClosingElement | ts.NewExpression | ts.CallExpression | ts.TypeQueryNode;
135
+ [AST_NODE_TYPES.TSTypePredicate]: ts.TypePredicateNode;
136
+ [AST_NODE_TYPES.TSTypeQuery]: ts.TypeQueryNode;
137
+ [AST_NODE_TYPES.TSTypeReference]: ts.TypeReferenceNode;
138
+ [AST_NODE_TYPES.TSUnionType]: ts.UnionTypeNode;
139
+ [AST_NODE_TYPES.UpdateExpression]: ts.PrefixUnaryExpression | ts.PostfixUnaryExpression;
140
+ [AST_NODE_TYPES.UnaryExpression]: ts.PrefixUnaryExpression | ts.PostfixUnaryExpression | ts.DeleteExpression | ts.VoidExpression | ts.TypeOfExpression;
141
+ [AST_NODE_TYPES.VariableDeclaration]: ts.VariableDeclarationList | ts.VariableStatement;
142
+ [AST_NODE_TYPES.VariableDeclarator]: ts.VariableDeclaration;
143
+ [AST_NODE_TYPES.WhileStatement]: ts.WhileStatement;
144
+ [AST_NODE_TYPES.WithStatement]: ts.WithStatement;
145
+ [AST_NODE_TYPES.YieldExpression]: ts.YieldExpression;
146
+ [AST_NODE_TYPES.TSEmptyBodyFunctionExpression]: ts.FunctionExpression | ts.ConstructorDeclaration | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.MethodDeclaration;
147
+ [AST_NODE_TYPES.TSAbstractKeyword]: ts.Token<ts.SyntaxKind.AbstractKeyword>;
148
+ [AST_NODE_TYPES.TSNullKeyword]: ts.NullLiteral | ts.KeywordTypeNode;
149
+ [AST_NODE_TYPES.TSAnyKeyword]: ts.KeywordTypeNode;
150
+ [AST_NODE_TYPES.TSBigIntKeyword]: ts.KeywordTypeNode;
151
+ [AST_NODE_TYPES.TSBooleanKeyword]: ts.KeywordTypeNode;
152
+ [AST_NODE_TYPES.TSIntrinsicKeyword]: ts.KeywordTypeNode;
153
+ [AST_NODE_TYPES.TSNeverKeyword]: ts.KeywordTypeNode;
154
+ [AST_NODE_TYPES.TSNumberKeyword]: ts.KeywordTypeNode;
155
+ [AST_NODE_TYPES.TSObjectKeyword]: ts.KeywordTypeNode;
156
+ [AST_NODE_TYPES.TSStringKeyword]: ts.KeywordTypeNode;
157
+ [AST_NODE_TYPES.TSSymbolKeyword]: ts.KeywordTypeNode;
158
+ [AST_NODE_TYPES.TSUnknownKeyword]: ts.KeywordTypeNode;
159
+ [AST_NODE_TYPES.TSVoidKeyword]: ts.KeywordTypeNode;
160
+ [AST_NODE_TYPES.TSUndefinedKeyword]: ts.KeywordTypeNode;
161
+ [AST_NODE_TYPES.TSAsyncKeyword]: ts.Token<ts.SyntaxKind.AsyncKeyword>;
162
+ [AST_NODE_TYPES.TSDeclareKeyword]: ts.Token<ts.SyntaxKind.DeclareKeyword>;
163
+ [AST_NODE_TYPES.TSExportKeyword]: ts.Token<ts.SyntaxKind.ExportKeyword>;
164
+ [AST_NODE_TYPES.TSStaticKeyword]: ts.Token<ts.SyntaxKind.StaticKeyword>;
165
+ [AST_NODE_TYPES.TSPublicKeyword]: ts.Token<ts.SyntaxKind.PublicKeyword>;
166
+ [AST_NODE_TYPES.TSPrivateKeyword]: ts.Token<ts.SyntaxKind.PrivateKeyword>;
167
+ [AST_NODE_TYPES.TSProtectedKeyword]: ts.Token<ts.SyntaxKind.ProtectedKeyword>;
168
+ [AST_NODE_TYPES.TSReadonlyKeyword]: ts.Token<ts.SyntaxKind.ReadonlyKeyword>;
169
+ }
170
+ /**
171
+ * Maps TSESTree AST Node type to the expected TypeScript AST Node type(s).
172
+ * This mapping is based on the internal logic of the parser.
173
+ */
174
+ export declare type TSESTreeToTSNode<T extends TSESTree.Node = TSESTree.Node> = Extract<TSNode | ts.Token<ts.SyntaxKind.NewKeyword | ts.SyntaxKind.ImportKeyword>, EstreeToTsNodeTypes[T['type']]>;
175
+ //# sourceMappingURL=estree-to-ts-node-types.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { AST_NODE_TYPES, AST_TOKEN_TYPES, TSESTree, } from '@typescript-eslint/types';
2
+ export * from './ts-nodes';
3
+ export * from './estree-to-ts-node-types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,18 @@
1
+ import * as ts from 'typescript';
2
+ declare module 'typescript' {
3
+ interface NamedTupleMember extends ts.Node {
4
+ }
5
+ interface TemplateLiteralTypeNode extends ts.Node {
6
+ }
7
+ interface PrivateIdentifier extends ts.Node {
8
+ }
9
+ interface ClassStaticBlockDeclaration extends ts.Node {
10
+ }
11
+ interface AssertClause extends ts.Node {
12
+ }
13
+ interface AssertEntry extends ts.Node {
14
+ }
15
+ }
16
+ export declare type TSToken = ts.Token<ts.SyntaxKind>;
17
+ export declare type TSNode = ts.AssertClause | ts.AssertEntry | ts.Modifier | ts.Identifier | ts.PrivateIdentifier | ts.QualifiedName | ts.ComputedPropertyName | ts.Decorator | ts.TypeParameterDeclaration | ts.CallSignatureDeclaration | ts.ConstructSignatureDeclaration | ts.VariableDeclaration | ts.VariableDeclarationList | ts.ParameterDeclaration | ts.BindingElement | ts.PropertySignature | ts.PropertyDeclaration | ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.SpreadAssignment | ts.ObjectBindingPattern | ts.ArrayBindingPattern | ts.FunctionDeclaration | ts.MethodSignature | ts.MethodDeclaration | ts.ConstructorDeclaration | ts.SemicolonClassElement | ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.IndexSignatureDeclaration | ts.KeywordTypeNode | ts.ImportTypeNode | ts.ThisTypeNode | ts.ClassStaticBlockDeclaration | ts.ConstructorTypeNode | ts.FunctionTypeNode | ts.TypeReferenceNode | ts.TypePredicateNode | ts.TypeQueryNode | ts.TypeLiteralNode | ts.ArrayTypeNode | ts.NamedTupleMember | ts.TupleTypeNode | ts.OptionalTypeNode | ts.RestTypeNode | ts.UnionTypeNode | ts.IntersectionTypeNode | ts.ConditionalTypeNode | ts.InferTypeNode | ts.ParenthesizedTypeNode | ts.TypeOperatorNode | ts.IndexedAccessTypeNode | ts.MappedTypeNode | ts.LiteralTypeNode | ts.StringLiteral | ts.OmittedExpression | ts.PartiallyEmittedExpression | ts.PrefixUnaryExpression | ts.PostfixUnaryExpression | ts.NullLiteral | ts.BooleanLiteral | ts.ThisExpression | ts.SuperExpression | ts.ImportExpression | ts.DeleteExpression | ts.TypeOfExpression | ts.VoidExpression | ts.AwaitExpression | ts.YieldExpression | ts.SyntheticExpression | ts.BinaryExpression | ts.ConditionalExpression | ts.FunctionExpression | ts.ArrowFunction | ts.RegularExpressionLiteral | ts.NoSubstitutionTemplateLiteral | ts.NumericLiteral | ts.BigIntLiteral | ts.TemplateHead | ts.TemplateMiddle | ts.TemplateTail | ts.TemplateExpression | ts.TemplateSpan | ts.ParenthesizedExpression | ts.ArrayLiteralExpression | ts.SpreadElement | ts.ObjectLiteralExpression | ts.PropertyAccessExpression | ts.ElementAccessExpression | ts.CallExpression | ts.ExpressionWithTypeArguments | ts.NewExpression | ts.TaggedTemplateExpression | ts.AsExpression | ts.TypeAssertion | ts.NonNullExpression | ts.MetaProperty | ts.JsxElement | ts.JsxOpeningElement | ts.JsxSelfClosingElement | ts.JsxFragment | ts.JsxOpeningFragment | ts.JsxClosingFragment | ts.JsxAttribute | ts.JsxSpreadAttribute | ts.JsxClosingElement | ts.JsxExpression | ts.JsxText | ts.NotEmittedStatement | ts.CommaListExpression | ts.EmptyStatement | ts.DebuggerStatement | ts.MissingDeclaration | ts.Block | ts.VariableStatement | ts.ExpressionStatement | ts.IfStatement | ts.DoStatement | ts.WhileStatement | ts.ForStatement | ts.ForInStatement | ts.ForOfStatement | ts.BreakStatement | ts.ContinueStatement | ts.ReturnStatement | ts.WithStatement | ts.SwitchStatement | ts.CaseBlock | ts.CaseClause | ts.DefaultClause | ts.LabeledStatement | ts.ThrowStatement | ts.TryStatement | ts.CatchClause | ts.ClassDeclaration | ts.ClassExpression | ts.InterfaceDeclaration | ts.HeritageClause | ts.TypeAliasDeclaration | ts.EnumMember | ts.EnumDeclaration | ts.ModuleDeclaration | ts.ModuleBlock | ts.ImportEqualsDeclaration | ts.ExternalModuleReference | ts.ImportDeclaration | ts.ImportClause | ts.NamespaceImport | ts.NamespaceExportDeclaration | ts.ExportDeclaration | ts.NamedImports | ts.NamedExports | ts.ImportSpecifier | ts.ExportSpecifier | ts.ExportAssignment | ts.SourceFile | ts.Bundle | ts.InputFiles | ts.UnparsedSource | ts.JsonMinusNumericLiteral | ts.TemplateLiteralTypeNode | ts.JSDoc | ts.JSDocTypeExpression | ts.JSDocUnknownTag | ts.JSDocAugmentsTag | ts.JSDocClassTag | ts.JSDocEnumTag | ts.JSDocThisTag | ts.JSDocTemplateTag | ts.JSDocReturnTag | ts.JSDocTypeTag | ts.JSDocTypedefTag | ts.JSDocCallbackTag | ts.JSDocSignature | ts.JSDocPropertyTag | ts.JSDocParameterTag | ts.JSDocTypeLiteral | ts.JSDocFunctionType | ts.JSDocAllType | ts.JSDocUnknownType | ts.JSDocNullableType | ts.JSDocNonNullableType | ts.JSDocOptionalType | ts.JSDocVariadicType | ts.JSDocAuthorTag;
18
+ //# sourceMappingURL=ts-nodes.d.ts.map
@@ -0,0 +1,3 @@
1
+ declare const typescriptVersionIsAtLeast: Record<"3.7" | "3.8" | "3.9" | "4.0" | "4.1" | "4.2" | "4.3" | "4.4" | "4.5" | "4.6" | "4.7" | "4.8", boolean>;
2
+ export { typescriptVersionIsAtLeast };
3
+ //# sourceMappingURL=version-check.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { SourceFile } from 'typescript';
2
- import { ASTMaps } from './convert';
2
+ import type { ASTMaps } from './convert';
3
3
  import type { Extra } from './parser-options';
4
4
  import type { TSESTree } from './ts-estree';
5
5
  export declare function astConverter(ast: SourceFile, extra: Extra, shouldPreserveNodeMaps: boolean): {
@@ -1 +1 @@
1
- {"version":3,"file":"ast-converter.d.ts","sourceRoot":"","sources":["../src/ast-converter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAA2B,OAAO,EAAE,MAAM,WAAW,CAAC;AAG7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5C,wBAAgB,YAAY,CAC1B,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,sBAAsB,EAAE,OAAO,GAC9B;IAAE,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAyDhD"}
1
+ {"version":3,"file":"ast-converter.d.ts","sourceRoot":"","sources":["../src/ast-converter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,wBAAgB,YAAY,CAC1B,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,KAAK,EACZ,sBAAsB,EAAE,OAAO,GAC9B;IAAE,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAyDhD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ast-converter.js","sourceRoot":"","sources":["../src/ast-converter.ts"],"names":[],"mappings":";;;AACA,uCAA6D;AAC7D,yDAAqD;AACrD,6CAA6C;AAG7C,uDAAmD;AAEnD,SAAgB,YAAY,CAC1B,GAAe,EACf,KAAY,EACZ,sBAA+B;IAE/B;;;OAGG;IACH,MAAM,EAAE,gBAAgB,EAAE,GAAG,GAAG,CAAC;IACjC,IAAI,gBAAgB,CAAC,MAAM,EAAE;QAC3B,MAAM,IAAA,sBAAY,EAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;KACzC;IAED;;OAEG;IACH,MAAM,QAAQ,GAAG,IAAI,mBAAS,CAAC,GAAG,EAAE;QAClC,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,IAAI,KAAK;QAC3D,sBAAsB;KACvB,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;IAEzC;;OAEG;IACH,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;QAC9B,IAAA,gCAAc,EAAC,MAAM,EAAE;YACrB,KAAK,EAAE,IAAI,CAAC,EAAE;gBACZ,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;oBAChB,4HAA4H;oBAC5H,mBAAmB;oBACnB,OAAO,IAAI,CAAC,KAAK,CAAC;iBACnB;gBACD,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;oBACd,4HAA4H;oBAC5H,mBAAmB;oBACnB,OAAO,IAAI,CAAC,GAAG,CAAC;iBACjB;YACH,CAAC;SACF,CAAC,CAAC;KACJ;IAED;;OAEG;IACH,IAAI,KAAK,CAAC,MAAM,EAAE;QAChB,MAAM,CAAC,MAAM,GAAG,IAAA,0BAAa,EAAC,GAAG,CAAC,CAAC;KACpC;IAED;;OAEG;IACH,IAAI,KAAK,CAAC,OAAO,EAAE;QACjB,MAAM,CAAC,QAAQ,GAAG,IAAA,kCAAe,EAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;KACpD;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,UAAU,EAAE,CAAC;IAEtC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAC7B,CAAC;AA7DD,oCA6DC"}
1
+ {"version":3,"file":"ast-converter.js","sourceRoot":"","sources":["../src/ast-converter.ts"],"names":[],"mappings":";;;AAGA,uCAAoD;AACpD,yDAAqD;AACrD,6CAA6C;AAE7C,uDAAmD;AAGnD,SAAgB,YAAY,CAC1B,GAAe,EACf,KAAY,EACZ,sBAA+B;IAE/B;;;OAGG;IACH,MAAM,EAAE,gBAAgB,EAAE,GAAG,GAAG,CAAC;IACjC,IAAI,gBAAgB,CAAC,MAAM,EAAE;QAC3B,MAAM,IAAA,sBAAY,EAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;KACzC;IAED;;OAEG;IACH,MAAM,QAAQ,GAAG,IAAI,mBAAS,CAAC,GAAG,EAAE;QAClC,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,IAAI,KAAK;QAC3D,sBAAsB;KACvB,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,QAAQ,CAAC,cAAc,EAAE,CAAC;IAEzC;;OAEG;IACH,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;QAC9B,IAAA,gCAAc,EAAC,MAAM,EAAE;YACrB,KAAK,EAAE,IAAI,CAAC,EAAE;gBACZ,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;oBAChB,4HAA4H;oBAC5H,mBAAmB;oBACnB,OAAO,IAAI,CAAC,KAAK,CAAC;iBACnB;gBACD,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE;oBACd,4HAA4H;oBAC5H,mBAAmB;oBACnB,OAAO,IAAI,CAAC,GAAG,CAAC;iBACjB;YACH,CAAC;SACF,CAAC,CAAC;KACJ;IAED;;OAEG;IACH,IAAI,KAAK,CAAC,MAAM,EAAE;QAChB,MAAM,CAAC,MAAM,GAAG,IAAA,0BAAa,EAAC,GAAG,CAAC,CAAC;KACpC;IAED;;OAEG;IACH,IAAI,KAAK,CAAC,OAAO,EAAE;QACjB,MAAM,CAAC,QAAQ,GAAG,IAAA,kCAAe,EAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;KACpD;IAED,MAAM,OAAO,GAAG,QAAQ,CAAC,UAAU,EAAE,CAAC;IAEtC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAC7B,CAAC;AA7DD,oCA6DC"}
@@ -1,5 +1,5 @@
1
1
  import * as ts from 'typescript';
2
- import { TSESTree } from './ts-estree';
2
+ import type { TSESTree } from './ts-estree';
3
3
  /**
4
4
  * Convert all comments for the given AST.
5
5
  * @param ast the AST object
@@ -1 +1 @@
1
- {"version":3,"file":"convert-comments.d.ts","sourceRoot":"","sources":["../src/convert-comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,EAAmB,QAAQ,EAAE,MAAM,aAAa,CAAC;AAExD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,EAClB,IAAI,EAAE,MAAM,GACX,QAAQ,CAAC,OAAO,EAAE,CAgCpB"}
1
+ {"version":3,"file":"convert-comments.d.ts","sourceRoot":"","sources":["../src/convert-comments.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAG5C;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,GAAG,EAAE,EAAE,CAAC,UAAU,EAClB,IAAI,EAAE,MAAM,GACX,QAAQ,CAAC,OAAO,EAAE,CAgCpB"}
@@ -24,8 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.convertComments = void 0;
27
- const ts = __importStar(require("typescript"));
28
27
  const util_1 = require("tsutils/util/util");
28
+ const ts = __importStar(require("typescript"));
29
29
  const node_utils_1 = require("./node-utils");
30
30
  const ts_estree_1 = require("./ts-estree");
31
31
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"convert-comments.js","sourceRoot":"","sources":["../src/convert-comments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,4CAAmD;AACnD,6CAAyC;AACzC,2CAAwD;AAExD;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,GAAkB,EAClB,IAAY;IAEZ,MAAM,QAAQ,GAAuB,EAAE,CAAC;IAExC,IAAA,qBAAc,EACZ,GAAG,EACH,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE;QACb,MAAM,IAAI,GACR,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACnD,CAAC,CAAC,2BAAe,CAAC,IAAI;YACtB,CAAC,CAAC,2BAAe,CAAC,KAAK,CAAC;QAC5B,MAAM,KAAK,GAAmB,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;QACzD,MAAM,GAAG,GAAG,IAAA,sBAAS,EAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QAE/C,mDAAmD;QACnD,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAC/B,MAAM,OAAO,GACX,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACpD,CAAC,CAAC,sCAAsC;gBACtC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS;YACtB,CAAC,CAAC,4CAA4C;gBAC5C,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI;YACJ,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC;YACjD,KAAK;YACL,GAAG;SACJ,CAAC,CAAC;IACL,CAAC,EACD,GAAG,CACJ,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAnCD,0CAmCC"}
1
+ {"version":3,"file":"convert-comments.js","sourceRoot":"","sources":["../src/convert-comments.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAmD;AACnD,+CAAiC;AAEjC,6CAAyC;AAEzC,2CAA8C;AAE9C;;;;;;GAMG;AACH,SAAgB,eAAe,CAC7B,GAAkB,EAClB,IAAY;IAEZ,MAAM,QAAQ,GAAuB,EAAE,CAAC;IAExC,IAAA,qBAAc,EACZ,GAAG,EACH,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE;QACb,MAAM,IAAI,GACR,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACnD,CAAC,CAAC,2BAAe,CAAC,IAAI;YACtB,CAAC,CAAC,2BAAe,CAAC,KAAK,CAAC;QAC5B,MAAM,KAAK,GAAmB,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;QACzD,MAAM,GAAG,GAAG,IAAA,sBAAS,EAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;QAE/C,mDAAmD;QACnD,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;QAC/B,MAAM,OAAO,GACX,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,UAAU,CAAC,uBAAuB;YACpD,CAAC,CAAC,sCAAsC;gBACtC,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS;YACtB,CAAC,CAAC,4CAA4C;gBAC5C,KAAK,CAAC,CAAC,CAAC,GAAG,SAAS,GAAG,CAAC,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC;YACZ,IAAI;YACJ,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC;YACjD,KAAK;YACL,GAAG;SACJ,CAAC,CAAC;IACL,CAAC,EACD,GAAG,CACJ,CAAC;IAEF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAnCD,0CAmCC"}
@@ -1,8 +1,8 @@
1
1
  import * as ts from 'typescript';
2
- import { TSError } from './node-utils';
2
+ import type { TSError } from './node-utils';
3
3
  import type { ParserWeakMap, ParserWeakMapESTreeToTSNode } from './parser-options';
4
4
  import type { SemanticOrSyntacticError } from './semantic-or-syntactic-errors';
5
- import { TSESTree, TSNode } from './ts-estree';
5
+ import type { TSESTree, TSNode } from './ts-estree';
6
6
  interface ConverterOptions {
7
7
  errorOnUnknownASTType: boolean;
8
8
  shouldPreserveNodeMaps: boolean;
@@ -130,10 +130,12 @@ export declare class Converter {
130
130
  private convertAssertClasue;
131
131
  /**
132
132
  * Applies the given TS modifiers to the given result object.
133
+ *
134
+ * This method adds not standardized `modifiers` property in nodes
135
+ *
133
136
  * @param result
134
137
  * @param modifiers original ts.Nodes from the node.modifiers array
135
138
  * @returns the current result object will be mutated
136
- * @deprecated This method adds not standardized `modifiers` property in nodes
137
139
  */
138
140
  private applyModifiersToResult;
139
141
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAoBL,OAAO,EAER,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAEL,QAAQ,EAER,MAAM,EACP,MAAM,aAAa,CAAC;AAKrB,UAAU,gBAAgB;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,EAAE,CAAC,sBAAsB,GAAG,wBAAwB,GAC1D,OAAO,CAMT;AAED,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,qBAAa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IAEvD,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,UAAU,CAAS;IAE3B;;;;;OAKG;gBACS,GAAG,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,gBAAgB;IAKzD,UAAU,IAAI,OAAO;IAOrB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;IAkCjB;;;;;OAKG;IACH,OAAO,CAAC,UAAU;IA+DlB;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAIpB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,UAAU;IAsBlB,OAAO,CAAC,oCAAoC;IAe5C;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IAqB7B;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAkC9B;;;;;OAKG;IACH,OAAO,CAAC,oCAAoC;IAa5C;;;;OAIG;IACH,OAAO,CAAC,kDAAkD;IAe1D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAkBzB,OAAO,CAAC,sBAAsB;IA4C9B;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAmElB,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IA6BvC;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IA4D9B,OAAO,CAAC,mBAAmB;IAQ3B;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IA8C9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB,OAAO,CAAC,qBAAqB;IAwB7B;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;CAumEpB"}
1
+ {"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../src/convert.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,YAAY,CAAC;AAGjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAuB5C,OAAO,KAAK,EACV,aAAa,EACb,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC/E,OAAO,KAAK,EAAE,QAAQ,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AAMtE,UAAU,gBAAgB;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,KAAK,EAAE,EAAE,CAAC,sBAAsB,GAAG,wBAAwB,GAC1D,OAAO,CAMT;AAED,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,2BAA2B,CAAC;IACnD,qBAAqB,EAAE,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,qBAAa,SAAS;IACpB,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAgB;IACpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmB;IAC3C,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IACvD,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAiB;IAEvD,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,UAAU,CAAS;IAE3B;;;;;OAKG;gBACS,GAAG,EAAE,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,gBAAgB;IAKzD,UAAU,IAAI,OAAO;IAOrB,cAAc,IAAI,QAAQ,CAAC,OAAO;IAIlC;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;IAkCjB;;;;;OAKG;IACH,OAAO,CAAC,UAAU;IAgElB;;OAEG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAItB;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAIpB;;;;;OAKG;IACH,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,UAAU;IAsBlB,OAAO,CAAC,oCAAoC;IAe5C;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IAqB7B;;;;;OAKG;IACH,OAAO,CAAC,sBAAsB;IAkC9B;;;;;OAKG;IACH,OAAO,CAAC,oCAAoC;IAa5C;;;;OAIG;IACH,OAAO,CAAC,kDAAkD;IAe1D;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,sBAAsB;IA4C9B;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAwFlB,OAAO,CAAC,oBAAoB;IAW5B,OAAO,CAAC,+BAA+B;IA6BvC;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IA8BzB,OAAO,CAAC,sBAAsB;IA4D9B,OAAO,CAAC,mBAAmB;IAQ3B;;;;;;;;OAQG;IACH,OAAO,CAAC,sBAAsB;IA+C9B;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAczB,OAAO,CAAC,qBAAqB;IAwB7B;;;;;;;OAOG;IACH,OAAO,CAAC,WAAW;CA2mEpB"}
@@ -27,6 +27,7 @@ exports.Converter = exports.convertError = void 0;
27
27
  // There's lots of funny stuff due to the typing of ts.Node
28
28
  /* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-member-access */
29
29
  const ts = __importStar(require("typescript"));
30
+ const getModifiers_1 = require("./getModifiers");
30
31
  const node_utils_1 = require("./node-utils");
31
32
  const ts_estree_1 = require("./ts-estree");
32
33
  const version_check_1 = require("./version-check");
@@ -101,13 +102,14 @@ class Converter {
101
102
  */
102
103
  fixExports(node, result) {
103
104
  // check for exports
104
- if (node.modifiers && node.modifiers[0].kind === SyntaxKind.ExportKeyword) {
105
+ const modifiers = (0, getModifiers_1.getModifiers)(node);
106
+ if ((modifiers === null || modifiers === void 0 ? void 0 : modifiers[0].kind) === SyntaxKind.ExportKeyword) {
105
107
  /**
106
108
  * Make sure that original node is registered instead of export
107
109
  */
108
110
  this.registerTSNodeInNodeMap(node, result);
109
- const exportKeyword = node.modifiers[0];
110
- const nextModifier = node.modifiers[1];
111
+ const exportKeyword = modifiers[0];
112
+ const nextModifier = modifiers[1];
111
113
  const declarationIsDefault = nextModifier && nextModifier.kind === SyntaxKind.DefaultKeyword;
112
114
  const varToken = declarationIsDefault
113
115
  ? (0, node_utils_1.findNextToken)(nextModifier, this.ast, this.ast)
@@ -288,10 +290,10 @@ class Converter {
288
290
  return [];
289
291
  }
290
292
  return parameters.map(param => {
291
- var _a;
292
293
  const convertedParam = this.convertChild(param);
293
- if ((_a = param.decorators) === null || _a === void 0 ? void 0 : _a.length) {
294
- convertedParam.decorators = param.decorators.map(el => this.convertChild(el));
294
+ const decorators = (0, getModifiers_1.getDecorators)(param);
295
+ if (decorators === null || decorators === void 0 ? void 0 : decorators.length) {
296
+ convertedParam.decorators = decorators.map(el => this.convertChild(el));
295
297
  }
296
298
  return convertedParam;
297
299
  });
@@ -366,11 +368,36 @@ class Converter {
366
368
  ? this.convertTSTypeParametersToTypeParametersDeclaration(node.typeParameters)
367
369
  : null;
368
370
  }
369
- if ('decorators' in node && node.decorators && node.decorators.length) {
370
- result.decorators = node.decorators.map(el => this.convertChild(el));
371
+ const decorators = (0, getModifiers_1.getDecorators)(node);
372
+ if (decorators === null || decorators === void 0 ? void 0 : decorators.length) {
373
+ result.decorators = decorators.map(el => this.convertChild(el));
371
374
  }
375
+ // keys we never want to clone from the base typescript node as they
376
+ // introduce garbage into our AST
377
+ const KEYS_TO_NOT_COPY = new Set([
378
+ '_children',
379
+ 'decorators',
380
+ 'end',
381
+ 'flags',
382
+ 'illegalDecorators',
383
+ 'heritageClauses',
384
+ 'locals',
385
+ 'localSymbol',
386
+ 'jsDoc',
387
+ 'kind',
388
+ 'modifierFlagsCache',
389
+ 'modifiers',
390
+ 'nextContainer',
391
+ 'parent',
392
+ 'pos',
393
+ 'symbol',
394
+ 'transformFlags',
395
+ 'type',
396
+ 'typeArguments',
397
+ 'typeParameters',
398
+ ]);
372
399
  Object.entries(node)
373
- .filter(([key]) => !/^(?:_children|kind|parent|pos|end|flags|modifierFlagsCache|jsDoc|type|typeArguments|typeParameters|decorators|transformFlags)$/.test(key))
400
+ .filter(([key]) => !KEYS_TO_NOT_COPY.has(key))
374
401
  .forEach(([key, value]) => {
375
402
  if (Array.isArray(value)) {
376
403
  result[key] = value.map(el => this.convertChild(el));
@@ -496,13 +523,15 @@ class Converter {
496
523
  }
497
524
  /**
498
525
  * Applies the given TS modifiers to the given result object.
526
+ *
527
+ * This method adds not standardized `modifiers` property in nodes
528
+ *
499
529
  * @param result
500
530
  * @param modifiers original ts.Nodes from the node.modifiers array
501
531
  * @returns the current result object will be mutated
502
- * @deprecated This method adds not standardized `modifiers` property in nodes
503
532
  */
504
533
  applyModifiersToResult(result, modifiers) {
505
- if (!(modifiers === null || modifiers === void 0 ? void 0 : modifiers.length)) {
534
+ if (!modifiers) {
506
535
  return;
507
536
  }
508
537
  const remainingModifiers = [];
@@ -537,7 +566,7 @@ class Converter {
537
566
  * not been explicitly handled above, we just convert and
538
567
  * add the modifiers array to the result node.
539
568
  */
540
- if (remainingModifiers.length) {
569
+ if (remainingModifiers.length > 0) {
541
570
  result.modifiers = remainingModifiers;
542
571
  }
543
572
  }
@@ -773,12 +802,11 @@ class Converter {
773
802
  });
774
803
  /**
775
804
  * Semantically, decorators are not allowed on variable declarations,
776
- * but the TypeScript compiler will parse them and produce a valid AST,
777
- * so we handle them here too.
805
+ * Pre 4.8 TS would include them in the AST, so we did as well.
806
+ * However as of 4.8 TS no longer includes it (as it is, well, invalid).
807
+ *
808
+ * So for consistency across versions, we no longer include it either.
778
809
  */
779
- if (node.decorators) {
780
- result.decorators = node.decorators.map(el => this.convertChild(el));
781
- }
782
810
  if ((0, node_utils_1.hasModifier)(SyntaxKind.DeclareKeyword, node)) {
783
811
  result.declare = true;
784
812
  }
@@ -889,8 +917,9 @@ class Converter {
889
917
  if (node.type) {
890
918
  result.typeAnnotation = this.convertTypeAnnotation(node.type, node);
891
919
  }
892
- if (node.decorators) {
893
- result.decorators = node.decorators.map(el => this.convertChild(el));
920
+ const decorators = (0, getModifiers_1.getDecorators)(node);
921
+ if (decorators) {
922
+ result.decorators = decorators.map(el => this.convertChild(el));
894
923
  }
895
924
  const accessibility = (0, node_utils_1.getTSNodeAccessibility)(node);
896
925
  if (accessibility) {
@@ -974,8 +1003,9 @@ class Converter {
974
1003
  kind: 'method',
975
1004
  override: (0, node_utils_1.hasModifier)(SyntaxKind.OverrideKeyword, node),
976
1005
  });
977
- if (node.decorators) {
978
- result.decorators = node.decorators.map(el => this.convertChild(el));
1006
+ const decorators = (0, getModifiers_1.getDecorators)(node);
1007
+ if (decorators) {
1008
+ result.decorators = decorators.map(el => this.convertChild(el));
979
1009
  }
980
1010
  const accessibility = (0, node_utils_1.getTSNodeAccessibility)(node);
981
1011
  if (accessibility) {
@@ -1252,7 +1282,8 @@ class Converter {
1252
1282
  left: parameter,
1253
1283
  right: this.convertChild(node.initializer),
1254
1284
  });
1255
- if (node.modifiers) {
1285
+ const modifiers = (0, getModifiers_1.getModifiers)(node);
1286
+ if (modifiers) {
1256
1287
  // AssignmentPattern should not contain modifiers in range
1257
1288
  result.range[0] = parameter.range[0];
1258
1289
  result.loc = (0, node_utils_1.getLocFor)(result.range[0], result.range[1], this.ast);
@@ -1272,7 +1303,8 @@ class Converter {
1272
1303
  }
1273
1304
  parameter.optional = true;
1274
1305
  }
1275
- if (node.modifiers) {
1306
+ const modifiers = (0, getModifiers_1.getModifiers)(node);
1307
+ if (modifiers) {
1276
1308
  return this.createNode(node, {
1277
1309
  type: ts_estree_1.AST_NODE_TYPES.TSParameterProperty,
1278
1310
  accessibility: (_c = (0, node_utils_1.getTSNodeAccessibility)(node)) !== null && _c !== void 0 ? _c : undefined,
@@ -1331,8 +1363,9 @@ class Converter {
1331
1363
  if ((0, node_utils_1.hasModifier)(SyntaxKind.DeclareKeyword, node)) {
1332
1364
  result.declare = true;
1333
1365
  }
1334
- if (node.decorators) {
1335
- result.decorators = node.decorators.map(el => this.convertChild(el));
1366
+ const decorators = (0, getModifiers_1.getDecorators)(node);
1367
+ if (decorators) {
1368
+ result.decorators = decorators.map(el => this.convertChild(el));
1336
1369
  }
1337
1370
  const filteredMembers = node.members.filter(node_utils_1.isESTreeClassMember);
1338
1371
  if (filteredMembers.length) {
@@ -1967,7 +2000,9 @@ class Converter {
1967
2000
  typeAnnotation: node.type
1968
2001
  ? this.convertTypeAnnotation(node.type, node)
1969
2002
  : undefined,
1970
- initializer: this.convertChild(node.initializer) || undefined,
2003
+ initializer: this.convertChild(
2004
+ // eslint-disable-next-line deprecation/deprecation -- TODO breaking change remove this from the AST
2005
+ node.initializer) || undefined,
1971
2006
  readonly: (0, node_utils_1.hasModifier)(SyntaxKind.ReadonlyKeyword, node) || undefined,
1972
2007
  static: (0, node_utils_1.hasModifier)(SyntaxKind.StaticKeyword, node) || undefined,
1973
2008
  export: (0, node_utils_1.hasModifier)(SyntaxKind.ExportKeyword, node) || undefined,
@@ -2134,7 +2169,7 @@ class Converter {
2134
2169
  members: node.members.map(el => this.convertChild(el)),
2135
2170
  });
2136
2171
  // apply modifiers first...
2137
- this.applyModifiersToResult(result, node.modifiers);
2172
+ this.applyModifiersToResult(result, (0, getModifiers_1.getModifiers)(node));
2138
2173
  // ...then check for exports
2139
2174
  return this.fixExports(node, result);
2140
2175
  }
@@ -2160,7 +2195,7 @@ class Converter {
2160
2195
  result.body = this.convertChild(node.body);
2161
2196
  }
2162
2197
  // apply modifiers first...
2163
- this.applyModifiersToResult(result, node.modifiers);
2198
+ this.applyModifiersToResult(result, (0, getModifiers_1.getModifiers)(node));
2164
2199
  if (node.flags & ts.NodeFlags.GlobalAugmentation) {
2165
2200
  result.global = true;
2166
2201
  }