@sprucelabs/spruce-cli 17.1.36 → 17.1.39

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 (704) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/node_modules/@typescript-eslint/parser/LICENSE +22 -0
  3. package/node_modules/@typescript-eslint/parser/README.md +302 -0
  4. package/node_modules/@typescript-eslint/parser/dist/index.d.ts +4 -0
  5. package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -0
  6. package/node_modules/@typescript-eslint/parser/dist/index.js +13 -0
  7. package/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -0
  8. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +17 -0
  9. package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -0
  10. package/node_modules/@typescript-eslint/parser/dist/parser.js +129 -0
  11. package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -0
  12. package/node_modules/@typescript-eslint/parser/package.json +75 -0
  13. package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
  14. package/node_modules/@typescript-eslint/scope-manager/README.md +120 -0
  15. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
  16. package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
  17. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +22 -0
  18. package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
  19. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +72 -0
  20. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
  21. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +183 -0
  22. package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
  23. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +62 -0
  24. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
  25. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +58 -0
  26. package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
  27. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
  28. package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
  29. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
  30. package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
  31. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
  32. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
  33. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
  34. package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
  35. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
  36. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
  37. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
  38. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
  39. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
  40. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
  41. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
  42. package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
  43. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
  44. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
  45. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
  46. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
  47. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
  48. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
  49. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +19 -0
  50. package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
  51. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
  52. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
  53. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
  54. package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
  55. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
  56. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
  57. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
  58. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
  59. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
  60. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
  61. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
  62. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
  63. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
  64. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
  65. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
  66. package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
  67. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
  68. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
  69. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
  70. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
  71. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
  72. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
  73. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
  74. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
  75. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
  76. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
  77. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
  78. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
  79. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
  80. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
  81. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
  82. package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
  83. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
  84. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
  85. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
  86. package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
  87. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
  88. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
  89. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
  90. package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
  91. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
  92. package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
  93. package/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
  94. package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
  95. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
  96. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
  97. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
  98. package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
  99. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
  100. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
  101. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
  102. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
  103. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +66 -0
  104. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
  105. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1283 -0
  106. package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
  107. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
  108. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
  109. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
  110. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
  111. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
  112. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
  113. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
  114. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
  115. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
  116. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
  117. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
  118. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
  119. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +11 -0
  120. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
  121. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
  122. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
  123. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +11 -0
  124. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
  125. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +19 -0
  126. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
  127. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
  128. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
  129. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
  130. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
  131. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
  132. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
  133. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
  134. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
  135. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
  136. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
  137. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
  138. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
  139. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
  140. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
  141. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
  142. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
  143. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
  144. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
  145. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +11 -0
  146. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
  147. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
  148. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
  149. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
  150. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
  151. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
  152. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
  153. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
  154. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
  155. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +14 -0
  156. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
  157. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +11 -0
  158. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
  159. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
  160. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
  161. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
  162. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
  163. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +14 -0
  164. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
  165. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
  166. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
  167. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
  168. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
  169. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +15 -0
  170. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
  171. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
  172. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
  173. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
  174. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
  175. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
  176. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
  177. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +12 -0
  178. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
  179. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
  180. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
  181. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
  182. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
  183. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
  184. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
  185. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
  186. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
  187. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
  188. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
  189. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +11 -0
  190. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
  191. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
  192. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
  193. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +12 -0
  194. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
  195. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
  196. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
  197. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
  198. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
  199. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +14 -0
  200. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
  201. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
  202. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
  203. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
  204. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
  205. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +15 -0
  206. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
  207. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
  208. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
  209. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
  210. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
  211. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
  212. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
  213. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
  214. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
  215. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
  216. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
  217. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
  218. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
  219. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
  220. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
  221. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
  222. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
  223. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +14 -0
  224. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
  225. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +14 -0
  226. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
  227. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
  228. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
  229. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +11 -0
  230. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
  231. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
  232. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
  233. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
  234. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
  235. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
  236. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
  237. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
  238. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
  239. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
  240. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
  241. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +11 -0
  242. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
  243. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
  244. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
  245. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
  246. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
  247. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
  248. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
  249. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
  250. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
  251. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +14 -0
  252. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
  253. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
  254. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
  255. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +11 -0
  256. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
  257. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +18 -0
  258. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
  259. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
  260. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
  261. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
  262. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
  263. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
  264. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
  265. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
  266. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
  267. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
  268. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
  269. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
  270. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
  271. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
  272. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
  273. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +11 -0
  274. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
  275. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
  276. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
  277. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +12 -0
  278. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
  279. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
  280. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
  281. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
  282. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
  283. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +14 -0
  284. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
  285. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
  286. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
  287. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
  288. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
  289. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +14 -0
  290. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
  291. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
  292. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
  293. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
  294. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
  295. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
  296. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
  297. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
  298. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
  299. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
  300. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
  301. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
  302. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
  303. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
  304. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
  305. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
  306. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
  307. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
  308. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
  309. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
  310. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
  311. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
  312. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
  313. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
  314. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
  315. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
  316. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
  317. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
  318. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
  319. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
  320. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
  321. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +16 -0
  322. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
  323. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
  324. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
  325. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
  326. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
  327. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
  328. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
  329. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
  330. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
  331. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
  332. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
  333. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
  334. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
  335. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
  336. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
  337. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +114 -0
  338. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
  339. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
  340. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
  341. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +19 -0
  342. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
  343. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
  344. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
  345. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +11 -0
  346. package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
  347. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
  348. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
  349. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
  350. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
  351. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
  352. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
  353. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +12 -0
  354. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
  355. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
  356. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
  357. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +11 -0
  358. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
  359. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
  360. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
  361. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
  362. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
  363. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +14 -0
  364. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
  365. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
  366. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
  367. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
  368. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
  369. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +11 -0
  370. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
  371. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
  372. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
  373. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
  374. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
  375. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
  376. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
  377. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
  378. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
  379. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
  380. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
  381. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
  382. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
  383. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
  384. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
  385. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
  386. package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
  387. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +81 -0
  388. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
  389. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +165 -0
  390. package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
  391. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
  392. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
  393. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +13 -0
  394. package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
  395. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
  396. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
  397. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
  398. package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
  399. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
  400. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
  401. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
  402. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
  403. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
  404. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
  405. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
  406. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
  407. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +28 -0
  408. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
  409. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +453 -0
  410. package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
  411. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +27 -0
  412. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
  413. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +321 -0
  414. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
  415. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
  416. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
  417. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
  418. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
  419. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
  420. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
  421. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
  422. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
  423. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +28 -0
  424. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
  425. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +111 -0
  426. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
  427. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
  428. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
  429. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +109 -0
  430. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
  431. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +84 -0
  432. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
  433. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +544 -0
  434. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
  435. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
  436. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
  437. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +228 -0
  438. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
  439. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
  440. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
  441. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
  442. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
  443. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
  444. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
  445. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +82 -0
  446. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
  447. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
  448. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
  449. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
  450. package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
  451. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
  452. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
  453. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
  454. package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
  455. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
  456. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
  457. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
  458. package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
  459. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
  460. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
  461. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
  462. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
  463. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
  464. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
  465. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
  466. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
  467. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
  468. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
  469. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
  470. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
  471. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
  472. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
  473. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
  474. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
  475. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
  476. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
  477. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
  478. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
  479. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
  480. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
  481. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
  482. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
  483. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
  484. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
  485. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +37 -0
  486. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
  487. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
  488. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
  489. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
  490. package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
  491. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
  492. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
  493. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
  494. package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
  495. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
  496. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
  497. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
  498. package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
  499. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
  500. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
  501. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
  502. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
  503. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
  504. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
  505. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
  506. package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
  507. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +106 -0
  508. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
  509. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +363 -0
  510. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
  511. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
  512. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
  513. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +26 -0
  514. package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
  515. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
  516. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
  517. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
  518. package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
  519. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
  520. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
  521. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
  522. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
  523. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
  524. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
  525. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
  526. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
  527. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
  528. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
  529. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
  530. package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
  531. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
  532. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
  533. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
  534. package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
  535. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
  536. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
  537. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
  538. package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
  539. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
  540. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
  541. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
  542. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
  543. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
  544. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
  545. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
  546. package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
  547. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
  548. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
  549. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
  550. package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
  551. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
  552. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
  553. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
  554. package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
  555. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
  556. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
  557. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
  558. package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
  559. package/node_modules/@typescript-eslint/scope-manager/package.json +67 -0
  560. package/node_modules/@typescript-eslint/types/LICENSE +21 -0
  561. package/node_modules/@typescript-eslint/types/README.md +17 -0
  562. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +1729 -0
  563. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
  564. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +199 -0
  565. package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
  566. package/node_modules/@typescript-eslint/types/dist/index.d.ts +5 -0
  567. package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -0
  568. package/node_modules/@typescript-eslint/types/dist/index.js +24 -0
  569. package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
  570. package/node_modules/@typescript-eslint/types/dist/lib.d.ts +3 -0
  571. package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -0
  572. package/node_modules/@typescript-eslint/types/dist/lib.js +7 -0
  573. package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
  574. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +36 -0
  575. package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -0
  576. package/node_modules/@typescript-eslint/types/dist/parser-options.js +3 -0
  577. package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
  578. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +8 -0
  579. package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -0
  580. package/node_modules/@typescript-eslint/types/dist/ts-estree.js +28 -0
  581. package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
  582. package/node_modules/@typescript-eslint/types/package.json +84 -0
  583. package/node_modules/@typescript-eslint/typescript-estree/LICENSE +26 -0
  584. package/node_modules/@typescript-eslint/typescript-estree/README.md +383 -0
  585. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +9 -0
  586. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +1 -0
  587. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +60 -0
  588. package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -0
  589. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +11 -0
  590. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +1 -0
  591. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +63 -0
  592. package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -0
  593. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +159 -0
  594. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -0
  595. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2358 -0
  596. package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -0
  597. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
  598. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +1 -0
  599. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +6 -0
  600. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +1 -0
  601. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +12 -0
  602. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -0
  603. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +66 -0
  604. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -0
  605. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +9 -0
  606. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -0
  607. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +83 -0
  608. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -0
  609. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +11 -0
  610. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -0
  611. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +94 -0
  612. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -0
  613. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +5 -0
  614. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +1 -0
  615. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +40 -0
  616. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -0
  617. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +19 -0
  618. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +1 -0
  619. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +414 -0
  620. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -0
  621. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
  622. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
  623. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
  624. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
  625. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +22 -0
  626. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -0
  627. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +116 -0
  628. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -0
  629. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +13 -0
  630. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +1 -0
  631. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +93 -0
  632. package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -0
  633. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +4 -0
  634. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -0
  635. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +68 -0
  636. package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
  637. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +12 -0
  638. package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -0
  639. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +40 -0
  640. package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -0
  641. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +2 -0
  642. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +1 -0
  643. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +259 -0
  644. package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +1 -0
  645. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +227 -0
  646. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -0
  647. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +584 -0
  648. package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -0
  649. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +188 -0
  650. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -0
  651. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +3 -0
  652. package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +1 -0
  653. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +25 -0
  654. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -0
  655. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +529 -0
  656. package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -0
  657. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +13 -0
  658. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +1 -0
  659. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +93 -0
  660. package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +1 -0
  661. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +9 -0
  662. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -0
  663. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +54 -0
  664. package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -0
  665. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
  666. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -0
  667. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +4 -0
  668. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -0
  669. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +4 -0
  670. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +1 -0
  671. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +25 -0
  672. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -0
  673. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +18 -0
  674. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -0
  675. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +3 -0
  676. package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +1 -0
  677. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +3 -0
  678. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -0
  679. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +53 -0
  680. package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -0
  681. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +120 -0
  682. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +186 -0
  683. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +181 -0
  684. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +9 -0
  685. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +82 -0
  686. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +170 -0
  687. package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +46 -0
  688. package/node_modules/@typescript-eslint/typescript-estree/package.json +86 -0
  689. package/node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
  690. package/node_modules/@typescript-eslint/visitor-keys/README.md +13 -0
  691. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +4 -0
  692. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -0
  693. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +7 -0
  694. package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
  695. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +3 -0
  696. package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +1 -0
  697. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +8 -0
  698. package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
  699. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +6 -0
  700. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -0
  701. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +160 -0
  702. package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
  703. package/node_modules/@typescript-eslint/visitor-keys/package.json +60 -0
  704. package/package.json +37 -37
@@ -0,0 +1,120 @@
1
+ <h1 align="center">TypeScript Scope Manager</h1>
2
+
3
+ <p align="center">
4
+ <img src="https://github.com/typescript-eslint/typescript-eslint/workflows/CI/badge.svg" alt="CI" />
5
+ <a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/v/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Version" /></a>
6
+ <a href="https://www.npmjs.com/package/@typescript-eslint/scope-manager"><img src="https://img.shields.io/npm/dm/@typescript-eslint/scope-manager.svg?style=flat-square" alt="NPM Downloads" /></a>
7
+ </p>
8
+
9
+ This is a fork of [`eslint-scope`](https://github.com/eslint/eslint-scope), enhanced to support TypeScript functionality.
10
+ [You can view the original license for the code here](https://github.com/eslint/eslint-scope/blob/dbddf14d5771b21b5da704213e4508c660ca1c64/LICENSE).
11
+
12
+ This package is consumed automatically by [`@typescript-eslint/parser`](../parser).
13
+ You probably don't want to use it directly.
14
+
15
+ ## Getting Started
16
+
17
+ **[You can find our Getting Started docs here](https://typescript-eslint.io/docs)**
18
+
19
+ ## Installation
20
+
21
+ ```bash
22
+ $ yarn add -D typescript @typescript-eslint/scope-manager
23
+ $ npm i --save-dev typescript @typescript-eslint/scope-manager
24
+ ```
25
+
26
+ ## API
27
+
28
+ ### `analyze(tree, options)`
29
+
30
+ Analyses a given AST and returns the resulting `ScopeManager`.
31
+
32
+ ```ts
33
+ interface AnalyzeOptions {
34
+ /**
35
+ * Known visitor keys.
36
+ */
37
+ childVisitorKeys?: Record<string, string[]> | null;
38
+
39
+ /**
40
+ * Which ECMAScript version is considered.
41
+ * Defaults to `2018`.
42
+ * `'latest'` is converted to 1e8 at parser.
43
+ */
44
+ ecmaVersion?: EcmaVersion | 1e8;
45
+
46
+ /**
47
+ * Whether the whole script is executed under node.js environment.
48
+ * When enabled, the scope manager adds a function scope immediately following the global scope.
49
+ * Defaults to `false`.
50
+ */
51
+ globalReturn?: boolean;
52
+
53
+ /**
54
+ * Implied strict mode (if ecmaVersion >= 5).
55
+ * Defaults to `false`.
56
+ */
57
+ impliedStrict?: boolean;
58
+
59
+ /**
60
+ * The identifier that's used for JSX Element creation (after transpilation).
61
+ * This should not be a member expression - just the root identifier (i.e. use "React" instead of "React.createElement").
62
+ * Defaults to `"React"`.
63
+ */
64
+ jsxPragma?: string;
65
+
66
+ /**
67
+ * The identifier that's used for JSX fragment elements (after transpilation).
68
+ * If `null`, assumes transpilation will always use a member on `jsxFactory` (i.e. React.Fragment).
69
+ * This should not be a member expression - just the root identifier (i.e. use "h" instead of "h.Fragment").
70
+ * Defaults to `null`.
71
+ */
72
+ jsxFragmentName?: string | null;
73
+
74
+ /**
75
+ * The lib used by the project.
76
+ * This automatically defines a type variable for any types provided by the configured TS libs.
77
+ * For more information, see https://www.typescriptlang.org/tsconfig#lib
78
+ *
79
+ * Defaults to the lib for the provided `ecmaVersion`.
80
+ */
81
+ lib?: Lib[];
82
+
83
+ /**
84
+ * The source type of the script.
85
+ */
86
+ sourceType?: 'script' | 'module';
87
+
88
+ /**
89
+ * Emit design-type metadata for decorated declarations in source.
90
+ * Defaults to `false`.
91
+ */
92
+ emitDecoratorMetadata?: boolean;
93
+ }
94
+ ```
95
+
96
+ Example usage:
97
+
98
+ ```ts
99
+ import { analyze } from '@typescript-eslint/scope-manager';
100
+ import { parse } from '@typescript-eslint/typescript-estree';
101
+
102
+ const code = `const hello: string = 'world';`;
103
+ const ast = parse(code, {
104
+ // note that scope-manager requires ranges on the AST
105
+ range: true,
106
+ });
107
+ const scope = analyze(ast, {
108
+ ecmaVersion: 2020,
109
+ sourceType: 'module',
110
+ });
111
+ ```
112
+
113
+ ## References
114
+
115
+ - https://eslint.org/docs/developer-guide/scope-manager-interface
116
+ - https://github.com/eslint/eslint-scope
117
+
118
+ ## Contributing
119
+
120
+ [See the contributing guide here](../../CONTRIBUTING.md)
@@ -0,0 +1,4 @@
1
+ declare function createIdGenerator(): () => number;
2
+ declare function resetIds(): void;
3
+ export { createIdGenerator, resetIds };
4
+ //# sourceMappingURL=ID.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ID.d.ts","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":"AAGA,iBAAS,iBAAiB,IAAI,MAAM,MAAM,CAUzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resetIds = exports.createIdGenerator = void 0;
4
+ const ID_CACHE = new Map();
5
+ let NEXT_KEY = 0;
6
+ function createIdGenerator() {
7
+ const key = (NEXT_KEY += 1);
8
+ ID_CACHE.set(key, 0);
9
+ return () => {
10
+ var _a;
11
+ const current = (_a = ID_CACHE.get(key)) !== null && _a !== void 0 ? _a : 0;
12
+ const next = current + 1;
13
+ ID_CACHE.set(key, next);
14
+ return next;
15
+ };
16
+ }
17
+ exports.createIdGenerator = createIdGenerator;
18
+ function resetIds() {
19
+ ID_CACHE.clear();
20
+ }
21
+ exports.resetIds = resetIds;
22
+ //# sourceMappingURL=ID.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ID.js","sourceRoot":"","sources":["../src/ID.ts"],"names":[],"mappings":";;;AAAA,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;AAC3C,IAAI,QAAQ,GAAG,CAAC,CAAC;AAEjB,SAAS,iBAAiB;IACxB,MAAM,GAAG,GAAG,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC;IAC5B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAErB,OAAO,GAAW,EAAE;;QAClB,MAAM,OAAO,GAAG,MAAA,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,mCAAI,CAAC,CAAC;QACvC,MAAM,IAAI,GAAG,OAAO,GAAG,CAAC,CAAC;QACzB,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;AACJ,CAAC;AAMQ,8CAAiB;AAJ1B,SAAS,QAAQ;IACf,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC;AAE2B,4BAAQ"}
@@ -0,0 +1,72 @@
1
+ import { TSESTree } from '@typescript-eslint/types';
2
+ import { BlockScope, CatchScope, ClassScope, ConditionalTypeScope, ForScope, FunctionExpressionNameScope, FunctionScope, FunctionTypeScope, GlobalScope, MappedTypeScope, ModuleScope, Scope, SwitchScope, TSEnumScope, TSModuleScope, TypeScope, WithScope } from './scope';
3
+ import { ClassFieldInitializerScope } from './scope/ClassFieldInitializerScope';
4
+ import { ClassStaticBlockScope } from './scope/ClassStaticBlockScope';
5
+ import { Variable } from './variable';
6
+ interface ScopeManagerOptions {
7
+ globalReturn?: boolean;
8
+ sourceType?: 'module' | 'script';
9
+ impliedStrict?: boolean;
10
+ ecmaVersion?: number;
11
+ }
12
+ declare class ScopeManager {
13
+ #private;
14
+ currentScope: Scope | null;
15
+ readonly declaredVariables: WeakMap<TSESTree.Node, Variable[]>;
16
+ /**
17
+ * The root scope
18
+ * @public
19
+ */
20
+ globalScope: GlobalScope | null;
21
+ readonly nodeToScope: WeakMap<TSESTree.Node, Scope[]>;
22
+ /**
23
+ * All scopes
24
+ * @public
25
+ */
26
+ readonly scopes: Scope[];
27
+ get variables(): Variable[];
28
+ constructor(options: ScopeManagerOptions);
29
+ isGlobalReturn(): boolean;
30
+ isModule(): boolean;
31
+ isImpliedStrict(): boolean;
32
+ isStrictModeSupported(): boolean;
33
+ isES6(): boolean;
34
+ /**
35
+ * Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
36
+ * If the node does not define any variable, this returns an empty array.
37
+ * @param node An AST node to get their variables.
38
+ * @public
39
+ */
40
+ getDeclaredVariables(node: TSESTree.Node): Variable[];
41
+ /**
42
+ * Get the scope of a given AST node. The gotten scope's `block` property is the node.
43
+ * This method never returns `function-expression-name` scope. If the node does not have their scope, this returns `null`.
44
+ *
45
+ * @param node An AST node to get their scope.
46
+ * @param inner If the node has multiple scopes, this returns the outermost scope normally.
47
+ * If `inner` is `true` then this returns the innermost scope.
48
+ * @public
49
+ */
50
+ acquire(node: TSESTree.Node, inner?: boolean): Scope | null;
51
+ protected nestScope<T extends Scope>(scope: T): T;
52
+ nestBlockScope(node: BlockScope['block']): BlockScope;
53
+ nestCatchScope(node: CatchScope['block']): CatchScope;
54
+ nestClassScope(node: ClassScope['block']): ClassScope;
55
+ nestClassFieldInitializerScope(node: ClassFieldInitializerScope['block']): ClassFieldInitializerScope;
56
+ nestClassStaticBlockScope(node: ClassStaticBlockScope['block']): ClassStaticBlockScope;
57
+ nestConditionalTypeScope(node: ConditionalTypeScope['block']): ConditionalTypeScope;
58
+ nestForScope(node: ForScope['block']): ForScope;
59
+ nestFunctionExpressionNameScope(node: FunctionExpressionNameScope['block']): FunctionExpressionNameScope;
60
+ nestFunctionScope(node: FunctionScope['block'], isMethodDefinition: boolean): FunctionScope;
61
+ nestFunctionTypeScope(node: FunctionTypeScope['block']): FunctionTypeScope;
62
+ nestGlobalScope(node: GlobalScope['block']): GlobalScope;
63
+ nestMappedTypeScope(node: MappedTypeScope['block']): MappedTypeScope;
64
+ nestModuleScope(node: ModuleScope['block']): ModuleScope;
65
+ nestSwitchScope(node: SwitchScope['block']): SwitchScope;
66
+ nestTSEnumScope(node: TSEnumScope['block']): TSEnumScope;
67
+ nestTSModuleScope(node: TSModuleScope['block']): TSModuleScope;
68
+ nestTypeScope(node: TypeScope['block']): TypeScope;
69
+ nestWithScope(node: WithScope['block']): WithScope;
70
+ }
71
+ export { ScopeManager };
72
+ //# sourceMappingURL=ScopeManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScopeManager.d.ts","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EACL,UAAU,EACV,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,WAAW,EACX,KAAK,EACL,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,EACT,SAAS,EACV,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,cAAM,YAAY;;IACT,YAAY,EAAE,KAAK,GAAG,IAAI,CAAC;IAClC,SAAgB,iBAAiB,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;IACtE;;;OAGG;IACI,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IACvC,SAAgB,WAAW,EAAE,OAAO,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAE7D;;;OAGG;IACH,SAAgB,MAAM,EAAE,KAAK,EAAE,CAAC;IAEhC,IAAW,SAAS,IAAI,QAAQ,EAAE,CAQjC;gBAEW,OAAO,EAAE,mBAAmB;IASjC,cA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B,CAAC,IAAI,EAAE,eAAe,CAAC,OAAO,CAAC,GAAG,eAAe;IAKpE,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,eAAe,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,WAAW;IAKxD,iBAAiB,CAAC,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,aAAa;IAK9D,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;IAKlD,aAAa,CAAC,IAAI,EAAE,SAAS,CAAC,OAAO,CAAC,GAAG,SAAS;CAI1D;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1,183 @@
1
+ "use strict";
2
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
+ if (kind === "m") throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
+ };
8
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
10
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
+ };
13
+ var _ScopeManager_options;
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.ScopeManager = void 0;
16
+ const assert_1 = require("./assert");
17
+ const scope_1 = require("./scope");
18
+ const ClassFieldInitializerScope_1 = require("./scope/ClassFieldInitializerScope");
19
+ const ClassStaticBlockScope_1 = require("./scope/ClassStaticBlockScope");
20
+ class ScopeManager {
21
+ constructor(options) {
22
+ _ScopeManager_options.set(this, void 0);
23
+ this.scopes = [];
24
+ this.globalScope = null;
25
+ this.nodeToScope = new WeakMap();
26
+ this.currentScope = null;
27
+ __classPrivateFieldSet(this, _ScopeManager_options, options, "f");
28
+ this.declaredVariables = new WeakMap();
29
+ }
30
+ get variables() {
31
+ const variables = new Set();
32
+ function recurse(scope) {
33
+ scope.variables.forEach(v => variables.add(v));
34
+ scope.childScopes.forEach(recurse);
35
+ }
36
+ this.scopes.forEach(recurse);
37
+ return Array.from(variables).sort((a, b) => a.$id - b.$id);
38
+ }
39
+ isGlobalReturn() {
40
+ return __classPrivateFieldGet(this, _ScopeManager_options, "f").globalReturn === true;
41
+ }
42
+ isModule() {
43
+ return __classPrivateFieldGet(this, _ScopeManager_options, "f").sourceType === 'module';
44
+ }
45
+ isImpliedStrict() {
46
+ return __classPrivateFieldGet(this, _ScopeManager_options, "f").impliedStrict === true;
47
+ }
48
+ isStrictModeSupported() {
49
+ return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 5;
50
+ }
51
+ isES6() {
52
+ return __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion != null && __classPrivateFieldGet(this, _ScopeManager_options, "f").ecmaVersion >= 6;
53
+ }
54
+ /**
55
+ * Get the variables that a given AST node defines. The gotten variables' `def[].node`/`def[].parent` property is the node.
56
+ * If the node does not define any variable, this returns an empty array.
57
+ * @param node An AST node to get their variables.
58
+ * @public
59
+ */
60
+ getDeclaredVariables(node) {
61
+ var _a;
62
+ return (_a = this.declaredVariables.get(node)) !== null && _a !== void 0 ? _a : [];
63
+ }
64
+ /**
65
+ * Get the scope of a given AST node. The gotten scope's `block` property is the node.
66
+ * This method never returns `function-expression-name` scope. If the node does not have their scope, this returns `null`.
67
+ *
68
+ * @param node An AST node to get their scope.
69
+ * @param inner If the node has multiple scopes, this returns the outermost scope normally.
70
+ * If `inner` is `true` then this returns the innermost scope.
71
+ * @public
72
+ */
73
+ acquire(node, inner = false) {
74
+ var _a;
75
+ function predicate(testScope) {
76
+ if (testScope.type === 'function' && testScope.functionExpressionScope) {
77
+ return false;
78
+ }
79
+ return true;
80
+ }
81
+ const scopes = this.nodeToScope.get(node);
82
+ if (!scopes || scopes.length === 0) {
83
+ return null;
84
+ }
85
+ // Heuristic selection from all scopes.
86
+ // If you would like to get all scopes, please use ScopeManager#acquireAll.
87
+ if (scopes.length === 1) {
88
+ return scopes[0];
89
+ }
90
+ if (inner) {
91
+ for (let i = scopes.length - 1; i >= 0; --i) {
92
+ const scope = scopes[i];
93
+ if (predicate(scope)) {
94
+ return scope;
95
+ }
96
+ }
97
+ return null;
98
+ }
99
+ return (_a = scopes.find(predicate)) !== null && _a !== void 0 ? _a : null;
100
+ }
101
+ nestScope(scope) {
102
+ if (scope instanceof scope_1.GlobalScope) {
103
+ (0, assert_1.assert)(this.currentScope === null);
104
+ this.globalScope = scope;
105
+ }
106
+ this.currentScope = scope;
107
+ return scope;
108
+ }
109
+ nestBlockScope(node) {
110
+ (0, assert_1.assert)(this.currentScope);
111
+ return this.nestScope(new scope_1.BlockScope(this, this.currentScope, node));
112
+ }
113
+ nestCatchScope(node) {
114
+ (0, assert_1.assert)(this.currentScope);
115
+ return this.nestScope(new scope_1.CatchScope(this, this.currentScope, node));
116
+ }
117
+ nestClassScope(node) {
118
+ (0, assert_1.assert)(this.currentScope);
119
+ return this.nestScope(new scope_1.ClassScope(this, this.currentScope, node));
120
+ }
121
+ nestClassFieldInitializerScope(node) {
122
+ (0, assert_1.assert)(this.currentScope);
123
+ return this.nestScope(new ClassFieldInitializerScope_1.ClassFieldInitializerScope(this, this.currentScope, node));
124
+ }
125
+ nestClassStaticBlockScope(node) {
126
+ (0, assert_1.assert)(this.currentScope);
127
+ return this.nestScope(new ClassStaticBlockScope_1.ClassStaticBlockScope(this, this.currentScope, node));
128
+ }
129
+ nestConditionalTypeScope(node) {
130
+ (0, assert_1.assert)(this.currentScope);
131
+ return this.nestScope(new scope_1.ConditionalTypeScope(this, this.currentScope, node));
132
+ }
133
+ nestForScope(node) {
134
+ (0, assert_1.assert)(this.currentScope);
135
+ return this.nestScope(new scope_1.ForScope(this, this.currentScope, node));
136
+ }
137
+ nestFunctionExpressionNameScope(node) {
138
+ (0, assert_1.assert)(this.currentScope);
139
+ return this.nestScope(new scope_1.FunctionExpressionNameScope(this, this.currentScope, node));
140
+ }
141
+ nestFunctionScope(node, isMethodDefinition) {
142
+ (0, assert_1.assert)(this.currentScope);
143
+ return this.nestScope(new scope_1.FunctionScope(this, this.currentScope, node, isMethodDefinition));
144
+ }
145
+ nestFunctionTypeScope(node) {
146
+ (0, assert_1.assert)(this.currentScope);
147
+ return this.nestScope(new scope_1.FunctionTypeScope(this, this.currentScope, node));
148
+ }
149
+ nestGlobalScope(node) {
150
+ return this.nestScope(new scope_1.GlobalScope(this, node));
151
+ }
152
+ nestMappedTypeScope(node) {
153
+ (0, assert_1.assert)(this.currentScope);
154
+ return this.nestScope(new scope_1.MappedTypeScope(this, this.currentScope, node));
155
+ }
156
+ nestModuleScope(node) {
157
+ (0, assert_1.assert)(this.currentScope);
158
+ return this.nestScope(new scope_1.ModuleScope(this, this.currentScope, node));
159
+ }
160
+ nestSwitchScope(node) {
161
+ (0, assert_1.assert)(this.currentScope);
162
+ return this.nestScope(new scope_1.SwitchScope(this, this.currentScope, node));
163
+ }
164
+ nestTSEnumScope(node) {
165
+ (0, assert_1.assert)(this.currentScope);
166
+ return this.nestScope(new scope_1.TSEnumScope(this, this.currentScope, node));
167
+ }
168
+ nestTSModuleScope(node) {
169
+ (0, assert_1.assert)(this.currentScope);
170
+ return this.nestScope(new scope_1.TSModuleScope(this, this.currentScope, node));
171
+ }
172
+ nestTypeScope(node) {
173
+ (0, assert_1.assert)(this.currentScope);
174
+ return this.nestScope(new scope_1.TypeScope(this, this.currentScope, node));
175
+ }
176
+ nestWithScope(node) {
177
+ (0, assert_1.assert)(this.currentScope);
178
+ return this.nestScope(new scope_1.WithScope(this, this.currentScope, node));
179
+ }
180
+ }
181
+ exports.ScopeManager = ScopeManager;
182
+ _ScopeManager_options = new WeakMap();
183
+ //# sourceMappingURL=ScopeManager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScopeManager.js","sourceRoot":"","sources":["../src/ScopeManager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,qCAAkC;AAClC,mCAkBiB;AACjB,mFAAgF;AAChF,yEAAsE;AAWtE,MAAM,YAAY;IA0BhB,YAAY,OAA4B;QAjBxC,wCAAuC;QAkBrC,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;QACxB,IAAI,CAAC,WAAW,GAAG,IAAI,OAAO,EAAE,CAAC;QACjC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;QACzB,uBAAA,IAAI,yBAAY,OAAO,MAAA,CAAC;QACxB,IAAI,CAAC,iBAAiB,GAAG,IAAI,OAAO,EAAE,CAAC;IACzC,CAAC;IAjBD,IAAW,SAAS;QAClB,MAAM,SAAS,GAAG,IAAI,GAAG,EAAY,CAAC;QACtC,SAAS,OAAO,CAAC,KAAY;YAC3B,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;YAC/C,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACrC,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7B,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,GAAG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AAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IACxE,CAAC;IAEM,iBAAiB,CAAC,IAA4B;QACnD,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,qBAAa,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IAC1E,CAAC;IAEM,aAAa,CAAC,IAAwB;QAC3C,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,iBAAS,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IACtE,CAAC;IAEM,aAAa,CAAC,IAAwB;QAC3C,IAAA,eAAM,EAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC1B,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,iBAAS,CAAC,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;IACtE,CAAC;CACF;AAEQ,oCAAY"}
@@ -0,0 +1,62 @@
1
+ import { TSESTree, EcmaVersion, Lib } from '@typescript-eslint/types';
2
+ import { ReferencerOptions } from './referencer';
3
+ import { ScopeManager } from './ScopeManager';
4
+ interface AnalyzeOptions {
5
+ /**
6
+ * Known visitor keys.
7
+ */
8
+ childVisitorKeys?: ReferencerOptions['childVisitorKeys'];
9
+ /**
10
+ * Which ECMAScript version is considered.
11
+ * Defaults to `2018`.
12
+ * `'latest'` is converted to 1e8 at parser.
13
+ */
14
+ ecmaVersion?: EcmaVersion | 1e8;
15
+ /**
16
+ * Whether the whole script is executed under node.js environment.
17
+ * When enabled, the scope manager adds a function scope immediately following the global scope.
18
+ * Defaults to `false`.
19
+ */
20
+ globalReturn?: boolean;
21
+ /**
22
+ * Implied strict mode (if ecmaVersion >= 5).
23
+ * Defaults to `false`.
24
+ */
25
+ impliedStrict?: boolean;
26
+ /**
27
+ * The identifier that's used for JSX Element creation (after transpilation).
28
+ * This should not be a member expression - just the root identifier (i.e. use "React" instead of "React.createElement").
29
+ * Defaults to `"React"`.
30
+ */
31
+ jsxPragma?: string | null;
32
+ /**
33
+ * The identifier that's used for JSX fragment elements (after transpilation).
34
+ * If `null`, assumes transpilation will always use a member on `jsxFactory` (i.e. React.Fragment).
35
+ * This should not be a member expression - just the root identifier (i.e. use "h" instead of "h.Fragment").
36
+ * Defaults to `null`.
37
+ */
38
+ jsxFragmentName?: string | null;
39
+ /**
40
+ * The lib used by the project.
41
+ * This automatically defines a type variable for any types provided by the configured TS libs.
42
+ * Defaults to the lib for the provided `ecmaVersion`.
43
+ *
44
+ * https://www.typescriptlang.org/tsconfig#lib
45
+ */
46
+ lib?: Lib[];
47
+ /**
48
+ * The source type of the script.
49
+ */
50
+ sourceType?: 'script' | 'module';
51
+ /**
52
+ * Emit design-type metadata for decorated declarations in source.
53
+ * Defaults to `false`.
54
+ */
55
+ emitDecoratorMetadata?: boolean;
56
+ }
57
+ /**
58
+ * Takes an AST and returns the analyzed scopes.
59
+ */
60
+ declare function analyze(tree: TSESTree.Node, providedOptions?: AnalyzeOptions): ScopeManager;
61
+ export { analyze, AnalyzeOptions };
62
+ //# sourceMappingURL=analyze.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze.d.ts","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAEtE,OAAO,EAAc,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAO9C,UAAU,cAAc;IACtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,iBAAiB,CAAC,kBAAkB,CAAC,CAAC;IAEzD;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,GAAG,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IAEZ;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAEjC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AA6BD;;GAEG;AACH,iBAAS,OAAO,CACd,IAAI,EAAE,QAAQ,CAAC,IAAI,EACnB,eAAe,CAAC,EAAE,cAAc,GAC/B,YAAY,CAgCd;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.analyze = void 0;
4
+ const visitor_keys_1 = require("@typescript-eslint/visitor-keys");
5
+ const referencer_1 = require("./referencer");
6
+ const ScopeManager_1 = require("./ScopeManager");
7
+ const lib_1 = require("./lib");
8
+ const DEFAULT_OPTIONS = {
9
+ childVisitorKeys: visitor_keys_1.visitorKeys,
10
+ ecmaVersion: 2018,
11
+ globalReturn: false,
12
+ impliedStrict: false,
13
+ jsxPragma: 'React',
14
+ jsxFragmentName: null,
15
+ lib: ['es2018'],
16
+ sourceType: 'script',
17
+ emitDecoratorMetadata: false,
18
+ };
19
+ /**
20
+ * Convert ecmaVersion to lib.
21
+ * `'latest'` is converted to 1e8 at parser.
22
+ */
23
+ function mapEcmaVersion(version) {
24
+ if (version == null || version === 3 || version === 5) {
25
+ return 'es5';
26
+ }
27
+ const year = version > 2000 ? version : 2015 + (version - 6);
28
+ const lib = `es${year}`;
29
+ return lib in lib_1.lib ? lib : year > 2020 ? 'esnext' : 'es5';
30
+ }
31
+ /**
32
+ * Takes an AST and returns the analyzed scopes.
33
+ */
34
+ function analyze(tree, providedOptions) {
35
+ var _a, _b, _c, _d, _e, _f, _g, _h;
36
+ const ecmaVersion = (_a = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.ecmaVersion) !== null && _a !== void 0 ? _a : DEFAULT_OPTIONS.ecmaVersion;
37
+ const options = {
38
+ childVisitorKeys: (_b = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.childVisitorKeys) !== null && _b !== void 0 ? _b : DEFAULT_OPTIONS.childVisitorKeys,
39
+ ecmaVersion,
40
+ globalReturn: (_c = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.globalReturn) !== null && _c !== void 0 ? _c : DEFAULT_OPTIONS.globalReturn,
41
+ impliedStrict: (_d = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.impliedStrict) !== null && _d !== void 0 ? _d : DEFAULT_OPTIONS.impliedStrict,
42
+ jsxPragma: (providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.jsxPragma) === undefined
43
+ ? DEFAULT_OPTIONS.jsxPragma
44
+ : providedOptions.jsxPragma,
45
+ jsxFragmentName: (_e = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.jsxFragmentName) !== null && _e !== void 0 ? _e : DEFAULT_OPTIONS.jsxFragmentName,
46
+ sourceType: (_f = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.sourceType) !== null && _f !== void 0 ? _f : DEFAULT_OPTIONS.sourceType,
47
+ lib: (_g = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.lib) !== null && _g !== void 0 ? _g : [mapEcmaVersion(ecmaVersion)],
48
+ emitDecoratorMetadata: (_h = providedOptions === null || providedOptions === void 0 ? void 0 : providedOptions.emitDecoratorMetadata) !== null && _h !== void 0 ? _h : DEFAULT_OPTIONS.emitDecoratorMetadata,
49
+ };
50
+ // ensure the option is lower cased
51
+ options.lib = options.lib.map(l => l.toLowerCase());
52
+ const scopeManager = new ScopeManager_1.ScopeManager(options);
53
+ const referencer = new referencer_1.Referencer(options, scopeManager);
54
+ referencer.visit(tree);
55
+ return scopeManager;
56
+ }
57
+ exports.analyze = analyze;
58
+ //# sourceMappingURL=analyze.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;AACA,kEAA8D;AAC9D,6CAA6D;AAC7D,iDAA8C;AAC9C,+BAA2C;AAoE3C,MAAM,eAAe,GAA6B;IAChD,gBAAgB,EAAE,0BAAW;IAC7B,WAAW,EAAE,IAAI;IACjB,YAAY,EAAE,KAAK;IACnB,aAAa,EAAE,KAAK;IACpB,SAAS,EAAE,OAAO;IAClB,eAAe,EAAE,IAAI;IACrB,GAAG,EAAE,CAAC,QAAQ,CAAC;IACf,UAAU,EAAE,QAAQ;IACpB,qBAAqB,EAAE,KAAK;CAC7B,CAAC;AAEF;;;GAGG;AACH,SAAS,cAAc,CAAC,OAAsC;IAC5D,IAAI,OAAO,IAAI,IAAI,IAAI,OAAO,KAAK,CAAC,IAAI,OAAO,KAAK,CAAC,EAAE;QACrD,OAAO,KAAK,CAAC;KACd;IAED,MAAM,IAAI,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC;IAC7D,MAAM,GAAG,GAAG,KAAK,IAAI,EAAE,CAAC;IAExB,OAAO,GAAG,IAAI,SAAW,CAAC,CAAC,CAAE,GAAW,CAAC,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC;AAC5E,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CACd,IAAmB,EACnB,eAAgC;;IAEhC,MAAM,WAAW,GACf,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAA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AAI,CAAC,CAAC;IAEvB,OAAO,YAAY,CAAC;AACtB,CAAC;AAEQ,0BAAO"}
@@ -0,0 +1,3 @@
1
+ declare function assert(value: unknown, message?: string): asserts value;
2
+ export { assert };
3
+ //# sourceMappingURL=assert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assert.d.ts","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":"AACA,iBAAS,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAI/D;AAED,OAAO,EAAE,MAAM,EAAE,CAAC"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.assert = void 0;
4
+ // the base assert module doesn't use ts assertion syntax
5
+ function assert(value, message) {
6
+ if (value == null) {
7
+ throw new Error(message);
8
+ }
9
+ }
10
+ exports.assert = assert;
11
+ //# sourceMappingURL=assert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assert.js","sourceRoot":"","sources":["../src/assert.ts"],"names":[],"mappings":";;;AAAA,yDAAyD;AACzD,SAAS,MAAM,CAAC,KAAc,EAAE,OAAgB;IAC9C,IAAI,KAAK,IAAI,IAAI,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KAC1B;AACH,CAAC;AAEQ,wBAAM"}
@@ -0,0 +1,10 @@
1
+ import { TSESTree } from '@typescript-eslint/types';
2
+ import { DefinitionType } from './DefinitionType';
3
+ import { DefinitionBase } from './DefinitionBase';
4
+ declare class CatchClauseDefinition extends DefinitionBase<DefinitionType.CatchClause, TSESTree.CatchClause, null, TSESTree.BindingName> {
5
+ constructor(name: TSESTree.BindingName, node: CatchClauseDefinition['node']);
6
+ readonly isTypeDefinition = false;
7
+ readonly isVariableDefinition = true;
8
+ }
9
+ export { CatchClauseDefinition };
10
+ //# sourceMappingURL=CatchClauseDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CatchClauseDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,qBAAsB,SAAQ,cAAc,CAChD,cAAc,CAAC,WAAW,EAC1B,QAAQ,CAAC,WAAW,EACpB,IAAI,EACJ,QAAQ,CAAC,WAAW,CACrB;gBACa,IAAI,EAAE,QAAQ,CAAC,WAAW,EAAE,IAAI,EAAE,qBAAqB,CAAC,MAAM,CAAC;IAI3E,SAAgB,gBAAgB,SAAS;IACzC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CatchClauseDefinition = void 0;
4
+ const DefinitionType_1 = require("./DefinitionType");
5
+ const DefinitionBase_1 = require("./DefinitionBase");
6
+ class CatchClauseDefinition extends DefinitionBase_1.DefinitionBase {
7
+ constructor(name, node) {
8
+ super(DefinitionType_1.DefinitionType.CatchClause, name, node, null);
9
+ this.isTypeDefinition = false;
10
+ this.isVariableDefinition = true;
11
+ }
12
+ }
13
+ exports.CatchClauseDefinition = CatchClauseDefinition;
14
+ //# sourceMappingURL=CatchClauseDefinition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CatchClauseDefinition.js","sourceRoot":"","sources":["../../src/definition/CatchClauseDefinition.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAClD,qDAAkD;AAElD,MAAM,qBAAsB,SAAQ,+BAKnC;IACC,YAAY,IAA0B,EAAE,IAAmC;QACzE,KAAK,CAAC,+BAAc,CAAC,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAGtC,qBAAgB,GAAG,KAAK,CAAC;QACzB,yBAAoB,GAAG,IAAI,CAAC;IAH5C,CAAC;CAIF;AAEQ,sDAAqB"}
@@ -0,0 +1,10 @@
1
+ import { TSESTree } from '@typescript-eslint/types';
2
+ import { DefinitionType } from './DefinitionType';
3
+ import { DefinitionBase } from './DefinitionBase';
4
+ declare class ClassNameDefinition extends DefinitionBase<DefinitionType.ClassName, TSESTree.ClassDeclaration | TSESTree.ClassExpression, null, TSESTree.Identifier> {
5
+ constructor(name: TSESTree.Identifier, node: ClassNameDefinition['node']);
6
+ readonly isTypeDefinition = true;
7
+ readonly isVariableDefinition = true;
8
+ }
9
+ export { ClassNameDefinition };
10
+ //# sourceMappingURL=ClassNameDefinition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClassNameDefinition.d.ts","sourceRoot":"","sources":["../../src/definition/ClassNameDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,cAAM,mBAAoB,SAAQ,cAAc,CAC9C,cAAc,CAAC,SAAS,EACxB,QAAQ,CAAC,gBAAgB,GAAG,QAAQ,CAAC,eAAe,EACpD,IAAI,EACJ,QAAQ,CAAC,UAAU,CACpB;gBACa,IAAI,EAAE,QAAQ,CAAC,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC;IAIxE,SAAgB,gBAAgB,QAAQ;IACxC,SAAgB,oBAAoB,QAAQ;CAC7C;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}