@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.
- package/CHANGELOG.md +24 -0
- package/node_modules/@typescript-eslint/parser/LICENSE +22 -0
- package/node_modules/@typescript-eslint/parser/README.md +302 -0
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/parser/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/parser/dist/index.js +13 -0
- package/node_modules/@typescript-eslint/parser/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts +17 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js +129 -0
- package/node_modules/@typescript-eslint/parser/dist/parser.js.map +1 -0
- package/node_modules/@typescript-eslint/parser/package.json +75 -0
- package/node_modules/@typescript-eslint/scope-manager/LICENSE +21 -0
- package/node_modules/@typescript-eslint/scope-manager/README.md +120 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts +4 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ID.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts +72 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js +183 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/ScopeManager.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts +62 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js +58 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/analyze.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/assert.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/CatchClauseDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ClassNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/Definition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/DefinitionType.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/FunctionNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImplicitGlobalVariableDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ImportBindingDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/ParameterDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumMemberDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSEnumNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TSModuleNameDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/TypeDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js +30 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js +31 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/base-config.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js +66 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js +1283 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/dom.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.collection.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js +23 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.core.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.generator.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.proxy.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.reflect.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2015.symbol.wellknown.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.array.include.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2016.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2017.typedarrays.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asyncgenerator.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.asynciterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2018.regexp.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2019.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.bigint.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.date.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.number.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2020.symbol.wellknown.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2021.weakref.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.error.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js +16 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.object.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.sharedmemory.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es2022.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js +114 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es5.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es6.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/es7.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.array.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.asynciterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.bigint.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.full.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.intl.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.promise.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.string.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.symbol.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/esnext.weakref.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts +81 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js +165 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/lib.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js +24 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/scripthost.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js +9 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.importscripts.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.iterable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js +453 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/lib/webworker.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts +27 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js +321 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ClassVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts +15 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js +84 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ExportVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts +14 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js +50 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/ImportVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts +28 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js +111 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/PatternVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts +89 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js +109 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Reference.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts +84 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js +544 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Referencer.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js +228 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/TypeVisitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js +41 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/Visitor.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js +82 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/VisitorBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts +2 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js +6 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/referencer/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/BlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/CatchScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassFieldInitializerScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ClassStaticBlockScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ConditionalTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ForScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js +17 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionExpressionNameScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts +13 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js +37 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/FunctionTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/GlobalScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/MappedTypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ModuleScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts +21 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js +3 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/Scope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts +106 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js +363 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js +26 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/ScopeType.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/SwitchScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSEnumScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TSModuleScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/TypeScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts +11 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js +22 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/WithScope.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts +20 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js +36 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts +34 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js +12 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ESLintScopeVariable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts +25 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js +19 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/ImplicitLibVariable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts +18 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js +33 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/Variable.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts +44 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js +39 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/VariableBase.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js +10 -0
- package/node_modules/@typescript-eslint/scope-manager/dist/variable/index.js.map +1 -0
- package/node_modules/@typescript-eslint/scope-manager/package.json +67 -0
- package/node_modules/@typescript-eslint/types/LICENSE +21 -0
- package/node_modules/@typescript-eslint/types/README.md +17 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts +1729 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js +199 -0
- package/node_modules/@typescript-eslint/types/dist/generated/ast-spec.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts +5 -0
- package/node_modules/@typescript-eslint/types/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/index.js +24 -0
- package/node_modules/@typescript-eslint/types/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts +3 -0
- package/node_modules/@typescript-eslint/types/dist/lib.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js +7 -0
- package/node_modules/@typescript-eslint/types/dist/lib.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts +36 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js +3 -0
- package/node_modules/@typescript-eslint/types/dist/parser-options.js.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts +8 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js +28 -0
- package/node_modules/@typescript-eslint/types/dist/ts-estree.js.map +1 -0
- package/node_modules/@typescript-eslint/types/package.json +84 -0
- package/node_modules/@typescript-eslint/typescript-estree/LICENSE +26 -0
- package/node_modules/@typescript-eslint/typescript-estree/README.md +383 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js +60 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ast-converter.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js +63 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert-comments.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts +159 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js +2358 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/convert.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js +6 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/WatchCompilerHostOfConfigFile.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js +66 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createDefaultProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js +83 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createIsolatedProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts +11 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js +94 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createProjectProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js +40 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createSourceFile.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts +19 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js +414 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts +5 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js +72 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getScriptKind.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts +22 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js +116 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js +93 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/create-program/useProvidedPrograms.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js +68 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/getModifiers.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts +12 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js +40 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts +2 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js +259 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/jsx/xhtml-entities.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts +227 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js +584 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/node-utils.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts +188 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser-options.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts +25 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js +529 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/parser.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts +13 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js +93 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/semantic-or-syntactic-errors.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js +54 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/simple-traverse.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts +175 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/estree-to-ts-node-types.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts +4 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js +25 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/index.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts +18 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/ts-estree/ts-nodes.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts +3 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js +53 -0
- package/node_modules/@typescript-eslint/typescript-estree/dist/version-check.js.map +1 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/gitignore.js +120 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.d.ts +186 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/index.js +181 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/license +9 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/package.json +82 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/readme.md +170 -0
- package/node_modules/@typescript-eslint/typescript-estree/node_modules/globby/stream-utils.js +46 -0
- package/node_modules/@typescript-eslint/typescript-estree/package.json +86 -0
- package/node_modules/@typescript-eslint/visitor-keys/LICENSE +21 -0
- package/node_modules/@typescript-eslint/visitor-keys/README.md +13 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts +4 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js +7 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/get-keys.js.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts +3 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js +8 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/index.js.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts +6 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.d.ts.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js +160 -0
- package/node_modules/@typescript-eslint/visitor-keys/dist/visitor-keys.js.map +1 -0
- package/node_modules/@typescript-eslint/visitor-keys/package.json +60 -0
- package/package.json +37 -37
|
@@ -0,0 +1,321 @@
|
|
|
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 _ClassVisitor_classNode, _ClassVisitor_referencer, _ClassVisitor_emitDecoratorMetadata;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ClassVisitor = void 0;
|
|
16
|
+
const types_1 = require("@typescript-eslint/types");
|
|
17
|
+
const definition_1 = require("../definition");
|
|
18
|
+
const TypeVisitor_1 = require("./TypeVisitor");
|
|
19
|
+
const Visitor_1 = require("./Visitor");
|
|
20
|
+
class ClassVisitor extends Visitor_1.Visitor {
|
|
21
|
+
constructor(referencer, node, emitDecoratorMetadata) {
|
|
22
|
+
super(referencer);
|
|
23
|
+
_ClassVisitor_classNode.set(this, void 0);
|
|
24
|
+
_ClassVisitor_referencer.set(this, void 0);
|
|
25
|
+
_ClassVisitor_emitDecoratorMetadata.set(this, void 0);
|
|
26
|
+
__classPrivateFieldSet(this, _ClassVisitor_referencer, referencer, "f");
|
|
27
|
+
__classPrivateFieldSet(this, _ClassVisitor_classNode, node, "f");
|
|
28
|
+
__classPrivateFieldSet(this, _ClassVisitor_emitDecoratorMetadata, emitDecoratorMetadata, "f");
|
|
29
|
+
}
|
|
30
|
+
static visit(referencer, node, emitDecoratorMetadata) {
|
|
31
|
+
const classVisitor = new ClassVisitor(referencer, node, emitDecoratorMetadata);
|
|
32
|
+
classVisitor.visitClass(node);
|
|
33
|
+
}
|
|
34
|
+
visit(node) {
|
|
35
|
+
// make sure we only handle the nodes we are designed to handle
|
|
36
|
+
if (node && node.type in this) {
|
|
37
|
+
super.visit(node);
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
///////////////////
|
|
44
|
+
// Visit helpers //
|
|
45
|
+
///////////////////
|
|
46
|
+
visitClass(node) {
|
|
47
|
+
var _a, _b;
|
|
48
|
+
if (node.type === types_1.AST_NODE_TYPES.ClassDeclaration && node.id) {
|
|
49
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f")
|
|
50
|
+
.currentScope()
|
|
51
|
+
.defineIdentifier(node.id, new definition_1.ClassNameDefinition(node.id, node));
|
|
52
|
+
}
|
|
53
|
+
(_a = node.decorators) === null || _a === void 0 ? void 0 : _a.forEach(d => __classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(d));
|
|
54
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").scopeManager.nestClassScope(node);
|
|
55
|
+
if (node.id) {
|
|
56
|
+
// define the class name again inside the new scope
|
|
57
|
+
// references to the class should not resolve directly to the parent class
|
|
58
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f")
|
|
59
|
+
.currentScope()
|
|
60
|
+
.defineIdentifier(node.id, new definition_1.ClassNameDefinition(node.id, node));
|
|
61
|
+
}
|
|
62
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node.superClass);
|
|
63
|
+
// visit the type param declarations
|
|
64
|
+
this.visitType(node.typeParameters);
|
|
65
|
+
// then the usages
|
|
66
|
+
this.visitType(node.superTypeParameters);
|
|
67
|
+
(_b = node.implements) === null || _b === void 0 ? void 0 : _b.forEach(imp => this.visitType(imp));
|
|
68
|
+
this.visit(node.body);
|
|
69
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").close(node);
|
|
70
|
+
}
|
|
71
|
+
visitPropertyDefinition(node) {
|
|
72
|
+
this.visitProperty(node);
|
|
73
|
+
/**
|
|
74
|
+
* class A {
|
|
75
|
+
* @meta // <--- check this
|
|
76
|
+
* foo: Type;
|
|
77
|
+
* }
|
|
78
|
+
*/
|
|
79
|
+
this.visitMetadataType(node.typeAnnotation, !!node.decorators);
|
|
80
|
+
}
|
|
81
|
+
visitFunctionParameterTypeAnnotation(node, withDecorators) {
|
|
82
|
+
if ('typeAnnotation' in node) {
|
|
83
|
+
this.visitMetadataType(node.typeAnnotation, withDecorators);
|
|
84
|
+
}
|
|
85
|
+
else if (node.type === types_1.AST_NODE_TYPES.AssignmentPattern) {
|
|
86
|
+
this.visitMetadataType(node.left.typeAnnotation, withDecorators);
|
|
87
|
+
}
|
|
88
|
+
else if (node.type === types_1.AST_NODE_TYPES.TSParameterProperty) {
|
|
89
|
+
this.visitFunctionParameterTypeAnnotation(node.parameter, withDecorators);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
visitMethodFunction(node, methodNode) {
|
|
93
|
+
var _a, _b;
|
|
94
|
+
if (node.id) {
|
|
95
|
+
// FunctionExpression with name creates its special scope;
|
|
96
|
+
// FunctionExpressionNameScope.
|
|
97
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").scopeManager.nestFunctionExpressionNameScope(node);
|
|
98
|
+
}
|
|
99
|
+
// Consider this function is in the MethodDefinition.
|
|
100
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").scopeManager.nestFunctionScope(node, true);
|
|
101
|
+
/**
|
|
102
|
+
* class A {
|
|
103
|
+
* @meta // <--- check this
|
|
104
|
+
* foo(a: Type) {}
|
|
105
|
+
*
|
|
106
|
+
* @meta // <--- check this
|
|
107
|
+
* foo(): Type {}
|
|
108
|
+
* }
|
|
109
|
+
*/
|
|
110
|
+
let withMethodDecorators = !!methodNode.decorators;
|
|
111
|
+
/**
|
|
112
|
+
* class A {
|
|
113
|
+
* foo(
|
|
114
|
+
* @meta // <--- check this
|
|
115
|
+
* a: Type
|
|
116
|
+
* ) {}
|
|
117
|
+
*
|
|
118
|
+
* set foo(
|
|
119
|
+
* @meta // <--- EXCEPT this. TS do nothing for this
|
|
120
|
+
* a: Type
|
|
121
|
+
* ) {}
|
|
122
|
+
* }
|
|
123
|
+
*/
|
|
124
|
+
withMethodDecorators =
|
|
125
|
+
withMethodDecorators ||
|
|
126
|
+
(methodNode.kind !== 'set' &&
|
|
127
|
+
node.params.some(param => param.decorators));
|
|
128
|
+
if (!withMethodDecorators && methodNode.kind === 'set') {
|
|
129
|
+
const keyName = getLiteralMethodKeyName(methodNode);
|
|
130
|
+
/**
|
|
131
|
+
* class A {
|
|
132
|
+
* @meta // <--- check this
|
|
133
|
+
* get a() {}
|
|
134
|
+
* set ['a'](v: Type) {}
|
|
135
|
+
* }
|
|
136
|
+
*/
|
|
137
|
+
if (keyName !== null &&
|
|
138
|
+
((_a = __classPrivateFieldGet(this, _ClassVisitor_classNode, "f").body.body.find((node) => node !== methodNode &&
|
|
139
|
+
node.type === types_1.AST_NODE_TYPES.MethodDefinition &&
|
|
140
|
+
// Node must both be static or not
|
|
141
|
+
node.static === methodNode.static &&
|
|
142
|
+
getLiteralMethodKeyName(node) === keyName)) === null || _a === void 0 ? void 0 : _a.decorators)) {
|
|
143
|
+
withMethodDecorators = true;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @meta // <--- check this
|
|
148
|
+
* class A {
|
|
149
|
+
* constructor(a: Type) {}
|
|
150
|
+
* }
|
|
151
|
+
*/
|
|
152
|
+
if (!withMethodDecorators &&
|
|
153
|
+
methodNode.kind === 'constructor' &&
|
|
154
|
+
__classPrivateFieldGet(this, _ClassVisitor_classNode, "f").decorators) {
|
|
155
|
+
withMethodDecorators = true;
|
|
156
|
+
}
|
|
157
|
+
// Process parameter declarations.
|
|
158
|
+
for (const param of node.params) {
|
|
159
|
+
this.visitPattern(param, (pattern, info) => {
|
|
160
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f")
|
|
161
|
+
.currentScope()
|
|
162
|
+
.defineIdentifier(pattern, new definition_1.ParameterDefinition(pattern, node, info.rest));
|
|
163
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").referencingDefaultValue(pattern, info.assignments, null, true);
|
|
164
|
+
}, { processRightHandNodes: true });
|
|
165
|
+
this.visitFunctionParameterTypeAnnotation(param, withMethodDecorators);
|
|
166
|
+
(_b = param.decorators) === null || _b === void 0 ? void 0 : _b.forEach(d => this.visit(d));
|
|
167
|
+
}
|
|
168
|
+
this.visitMetadataType(node.returnType, withMethodDecorators);
|
|
169
|
+
this.visitType(node.typeParameters);
|
|
170
|
+
// In TypeScript there are a number of function-like constructs which have no body,
|
|
171
|
+
// so check it exists before traversing
|
|
172
|
+
if (node.body) {
|
|
173
|
+
// Skip BlockStatement to prevent creating BlockStatement scope.
|
|
174
|
+
if (node.body.type === types_1.AST_NODE_TYPES.BlockStatement) {
|
|
175
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visitChildren(node.body);
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node.body);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").close(node);
|
|
182
|
+
}
|
|
183
|
+
visitProperty(node) {
|
|
184
|
+
var _a;
|
|
185
|
+
if (node.computed) {
|
|
186
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node.key);
|
|
187
|
+
}
|
|
188
|
+
if (node.value) {
|
|
189
|
+
if (node.type === types_1.AST_NODE_TYPES.PropertyDefinition) {
|
|
190
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").scopeManager.nestClassFieldInitializerScope(node.value);
|
|
191
|
+
}
|
|
192
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node.value);
|
|
193
|
+
if (node.type === types_1.AST_NODE_TYPES.PropertyDefinition) {
|
|
194
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").close(node.value);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
if ('decorators' in node) {
|
|
198
|
+
(_a = node.decorators) === null || _a === void 0 ? void 0 : _a.forEach(d => __classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(d));
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
visitMethod(node) {
|
|
202
|
+
var _a;
|
|
203
|
+
if (node.computed) {
|
|
204
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node.key);
|
|
205
|
+
}
|
|
206
|
+
if (node.value.type === types_1.AST_NODE_TYPES.FunctionExpression) {
|
|
207
|
+
this.visitMethodFunction(node.value, node);
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node.value);
|
|
211
|
+
}
|
|
212
|
+
if ('decorators' in node) {
|
|
213
|
+
(_a = node.decorators) === null || _a === void 0 ? void 0 : _a.forEach(d => __classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(d));
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
visitType(node) {
|
|
217
|
+
if (!node) {
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
TypeVisitor_1.TypeVisitor.visit(__classPrivateFieldGet(this, _ClassVisitor_referencer, "f"), node);
|
|
221
|
+
}
|
|
222
|
+
visitMetadataType(node, withDecorators) {
|
|
223
|
+
if (!node) {
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
// emit decorators metadata only work for TSTypeReference in ClassDeclaration
|
|
227
|
+
if (__classPrivateFieldGet(this, _ClassVisitor_classNode, "f").type === types_1.AST_NODE_TYPES.ClassDeclaration &&
|
|
228
|
+
!__classPrivateFieldGet(this, _ClassVisitor_classNode, "f").declare &&
|
|
229
|
+
node.typeAnnotation.type === types_1.AST_NODE_TYPES.TSTypeReference &&
|
|
230
|
+
__classPrivateFieldGet(this, _ClassVisitor_emitDecoratorMetadata, "f")) {
|
|
231
|
+
let entityName;
|
|
232
|
+
if (node.typeAnnotation.typeName.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
|
|
233
|
+
let iter = node.typeAnnotation.typeName;
|
|
234
|
+
while (iter.left.type === types_1.AST_NODE_TYPES.TSQualifiedName) {
|
|
235
|
+
iter = iter.left;
|
|
236
|
+
}
|
|
237
|
+
entityName = iter.left;
|
|
238
|
+
}
|
|
239
|
+
else {
|
|
240
|
+
entityName = node.typeAnnotation.typeName;
|
|
241
|
+
}
|
|
242
|
+
if (withDecorators) {
|
|
243
|
+
if (entityName.type === types_1.AST_NODE_TYPES.Identifier) {
|
|
244
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").currentScope().referenceDualValueType(entityName);
|
|
245
|
+
}
|
|
246
|
+
if (node.typeAnnotation.typeParameters) {
|
|
247
|
+
this.visitType(node.typeAnnotation.typeParameters);
|
|
248
|
+
}
|
|
249
|
+
// everything is handled now
|
|
250
|
+
return;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
this.visitType(node);
|
|
254
|
+
}
|
|
255
|
+
/////////////////////
|
|
256
|
+
// Visit selectors //
|
|
257
|
+
/////////////////////
|
|
258
|
+
ClassBody(node) {
|
|
259
|
+
// this is here on purpose so that this visitor explicitly declares visitors
|
|
260
|
+
// for all nodes it cares about (see the instance visit method above)
|
|
261
|
+
this.visitChildren(node);
|
|
262
|
+
}
|
|
263
|
+
PropertyDefinition(node) {
|
|
264
|
+
this.visitPropertyDefinition(node);
|
|
265
|
+
}
|
|
266
|
+
MethodDefinition(node) {
|
|
267
|
+
this.visitMethod(node);
|
|
268
|
+
}
|
|
269
|
+
TSAbstractPropertyDefinition(node) {
|
|
270
|
+
this.visitPropertyDefinition(node);
|
|
271
|
+
}
|
|
272
|
+
TSAbstractMethodDefinition(node) {
|
|
273
|
+
this.visitProperty(node);
|
|
274
|
+
}
|
|
275
|
+
Identifier(node) {
|
|
276
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").visit(node);
|
|
277
|
+
}
|
|
278
|
+
PrivateIdentifier() {
|
|
279
|
+
// intentionally skip
|
|
280
|
+
}
|
|
281
|
+
StaticBlock(node) {
|
|
282
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").scopeManager.nestClassStaticBlockScope(node);
|
|
283
|
+
node.body.forEach(b => this.visit(b));
|
|
284
|
+
__classPrivateFieldGet(this, _ClassVisitor_referencer, "f").close(node);
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
exports.ClassVisitor = ClassVisitor;
|
|
288
|
+
_ClassVisitor_classNode = new WeakMap(), _ClassVisitor_referencer = new WeakMap(), _ClassVisitor_emitDecoratorMetadata = new WeakMap();
|
|
289
|
+
/**
|
|
290
|
+
* Only if key is one of [identifier, string, number], ts will combine metadata of accessors .
|
|
291
|
+
* class A {
|
|
292
|
+
* get a() {}
|
|
293
|
+
* set ['a'](v: Type) {}
|
|
294
|
+
*
|
|
295
|
+
* get [1]() {}
|
|
296
|
+
* set [1](v: Type) {}
|
|
297
|
+
*
|
|
298
|
+
* // Following won't be combined
|
|
299
|
+
* get [key]() {}
|
|
300
|
+
* set [key](v: Type) {}
|
|
301
|
+
*
|
|
302
|
+
* get [true]() {}
|
|
303
|
+
* set [true](v: Type) {}
|
|
304
|
+
*
|
|
305
|
+
* get ['a'+'b']() {}
|
|
306
|
+
* set ['a'+'b']() {}
|
|
307
|
+
* }
|
|
308
|
+
*/
|
|
309
|
+
function getLiteralMethodKeyName(node) {
|
|
310
|
+
if (node.computed && node.key.type === types_1.AST_NODE_TYPES.Literal) {
|
|
311
|
+
if (typeof node.key.value === 'string' ||
|
|
312
|
+
typeof node.key.value === 'number') {
|
|
313
|
+
return node.key.value;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
else if (!node.computed && node.key.type === types_1.AST_NODE_TYPES.Identifier) {
|
|
317
|
+
return node.key.name;
|
|
318
|
+
}
|
|
319
|
+
return null;
|
|
320
|
+
}
|
|
321
|
+
//# sourceMappingURL=ClassVisitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassVisitor.js","sourceRoot":"","sources":["../../src/referencer/ClassVisitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oDAAoE;AACpE,8CAAyE;AAEzE,+CAA4C;AAC5C,uCAAoC;AAEpC,MAAM,YAAa,SAAQ,iBAAO;IAKhC,YACE,UAAsB,EACtB,IAA0D,EAC1D,qBAA8B;QAE9B,KAAK,CAAC,UAAU,CAAC,CAAC;QATpB,0CAA0E;QAC1E,2CAAiC;QACjC,sDAAyC;QAQvC,uBAAA,IAAI,4BAAe,UAAU,MAAA,CAAC;QAC9B,uBAAA,IAAI,2BAAc,IAAI,MAAA,CAAC;QACvB,uBAAA,IAAI,uCAA0B,qBAAqB,MAAA,CAAC;IACtD,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,IAA0D,EAC1D,qBAA8B;QAE9B,MAAM,YAAY,GAAG,IAAI,YAAY,CACnC,UAAU,EACV,IAAI,EACJ,qBAAqB,CACtB,CAAC;QACF,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,IAAsC;QAC1C,+DAA+D;QAC/D,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YAC7B,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SACnB;aAAM;YACL,uBAAA,IAAI,gCAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;SAC9B;IACH,CAAC;IAED,mBAAmB;IACnB,mBAAmB;IACnB,mBAAmB;IAET,UAAU,CAClB,IAA0D;;QAE1D,IAAI,IAAI,CAAC,IAAI,KAAK,sBAAc,CAAC,gBAAgB,IAAI,IAAI,CAAC,EAAE,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AES,UAAU,CAAC,IAAyB;QAC5C,uBAAA,IAAI,gCAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,iBAAiB;QACzB,qBAAqB;IACvB,CAAC;IAES,WAAW,CAAC,IAA0B;QAC9C,uBAAA,IAAI,gCAAY,CAAC,YAAY,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;QAE9D,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QAEtC,uBAAA,IAAI,gCAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;CACF;AAsCQ,oCAAY;;AApCrB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAS,uBAAuB,CAC9B,IAA+B;IAE/B,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,OAAO,EAAE;QAC7D,IACE,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ;YAClC,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,QAAQ,EAClC;YACA,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC;SACvB;KACF;SAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,GAAG,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE;QACxE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;KACtB;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TSESTree } from '@typescript-eslint/types';
|
|
2
|
+
import { Referencer } from './Referencer';
|
|
3
|
+
import { Visitor } from './Visitor';
|
|
4
|
+
declare type ExportNode = TSESTree.ExportAllDeclaration | TSESTree.ExportDefaultDeclaration | TSESTree.ExportNamedDeclaration;
|
|
5
|
+
declare class ExportVisitor extends Visitor {
|
|
6
|
+
#private;
|
|
7
|
+
constructor(node: ExportNode, referencer: Referencer);
|
|
8
|
+
static visit(referencer: Referencer, node: ExportNode): void;
|
|
9
|
+
protected Identifier(node: TSESTree.Identifier): void;
|
|
10
|
+
protected ExportDefaultDeclaration(node: TSESTree.ExportDefaultDeclaration): void;
|
|
11
|
+
protected ExportNamedDeclaration(node: TSESTree.ExportNamedDeclaration): void;
|
|
12
|
+
protected ExportSpecifier(node: TSESTree.ExportSpecifier): void;
|
|
13
|
+
}
|
|
14
|
+
export { ExportVisitor };
|
|
15
|
+
//# sourceMappingURL=ExportVisitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,aAAK,UAAU,GACX,QAAQ,CAAC,oBAAoB,GAC7B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,sBAAsB,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;IAMpD,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,GAAG,IAAI;IAK5D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,GAAG,IAAI;IAUrD,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAaP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAgBP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;CAYhE;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
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 _ExportVisitor_referencer, _ExportVisitor_exportNode;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ExportVisitor = void 0;
|
|
16
|
+
const types_1 = require("@typescript-eslint/types");
|
|
17
|
+
const Visitor_1 = require("./Visitor");
|
|
18
|
+
class ExportVisitor extends Visitor_1.Visitor {
|
|
19
|
+
constructor(node, referencer) {
|
|
20
|
+
super(referencer);
|
|
21
|
+
_ExportVisitor_referencer.set(this, void 0);
|
|
22
|
+
_ExportVisitor_exportNode.set(this, void 0);
|
|
23
|
+
__classPrivateFieldSet(this, _ExportVisitor_exportNode, node, "f");
|
|
24
|
+
__classPrivateFieldSet(this, _ExportVisitor_referencer, referencer, "f");
|
|
25
|
+
}
|
|
26
|
+
static visit(referencer, node) {
|
|
27
|
+
const exportReferencer = new ExportVisitor(node, referencer);
|
|
28
|
+
exportReferencer.visit(node);
|
|
29
|
+
}
|
|
30
|
+
Identifier(node) {
|
|
31
|
+
if (__classPrivateFieldGet(this, _ExportVisitor_exportNode, "f").exportKind === 'type') {
|
|
32
|
+
// export type { T };
|
|
33
|
+
// type exports can only reference types
|
|
34
|
+
__classPrivateFieldGet(this, _ExportVisitor_referencer, "f").currentScope().referenceType(node);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
__classPrivateFieldGet(this, _ExportVisitor_referencer, "f").currentScope().referenceDualValueType(node);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
ExportDefaultDeclaration(node) {
|
|
41
|
+
if (node.declaration.type === types_1.AST_NODE_TYPES.Identifier) {
|
|
42
|
+
// export default A;
|
|
43
|
+
// this could be a type or a variable
|
|
44
|
+
this.visit(node.declaration);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
// export const a = 1;
|
|
48
|
+
// export something();
|
|
49
|
+
// etc
|
|
50
|
+
// these not included in the scope of this visitor as they are all guaranteed to be values or declare variables
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
ExportNamedDeclaration(node) {
|
|
54
|
+
if (node.source) {
|
|
55
|
+
// export ... from 'foo';
|
|
56
|
+
// these are external identifiers so there shouldn't be references or defs
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (!node.declaration) {
|
|
60
|
+
// export { x };
|
|
61
|
+
this.visitChildren(node);
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
// export const x = 1;
|
|
65
|
+
// this is not included in the scope of this visitor as it creates a variable
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
ExportSpecifier(node) {
|
|
69
|
+
if (node.exportKind === 'type') {
|
|
70
|
+
// export { type T };
|
|
71
|
+
// type exports can only reference types
|
|
72
|
+
//
|
|
73
|
+
// we can't let this fall through to the Identifier selector because the exportKind is on this node
|
|
74
|
+
// and we don't have access to the `.parent` during scope analysis
|
|
75
|
+
__classPrivateFieldGet(this, _ExportVisitor_referencer, "f").currentScope().referenceType(node.local);
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.visit(node.local);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ExportVisitor = ExportVisitor;
|
|
83
|
+
_ExportVisitor_referencer = new WeakMap(), _ExportVisitor_exportNode = new WeakMap();
|
|
84
|
+
//# sourceMappingURL=ExportVisitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ExportVisitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,oDAAoE;AAEpE,uCAAoC;AAOpC,MAAM,aAAc,SAAQ,iBAAO;IAIjC,YAAY,IAAgB,EAAE,UAAsB;QAClD,KAAK,CAAC,UAAU,CAAC,CAAC;QAJpB,4CAAiC;QACjC,4CAAiC;QAI/B,uBAAA,IAAI,6BAAe,IAAI,MAAA,CAAC;QACxB,uBAAA,IAAI,6BAAe,UAAU,MAAA,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,UAAsB,EAAE,IAAgB;QACnD,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7D,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAES,UAAU,CAAC,IAAyB;QAC5C,IAAI,uBAAA,IAAI,iCAAY,CAAC,UAAU,KAAK,MAAM,EAAE;YAC1C,qBAAqB;YACrB,wCAAwC;YACxC,uBAAA,IAAI,iCAAY,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SACrD;aAAM;YACL,uBAAA,IAAI,iCAAY,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;SAC9D;IACH,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,KAAK,sBAAc,CAAC,UAAU,EAAE;YACvD,oBAAoB;YACpB,qCAAqC;YACrC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC9B;aAAM;YACL,sBAAsB;YACtB,sBAAsB;YACtB,MAAM;YACN,+GAA+G;SAChH;IACH,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,IAAI,IAAI,CAAC,MAAM,EAAE;YACf,yBAAyB;YACzB,0EAA0E;YAC1E,OAAO;SACR;QAED,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,gBAAgB;YAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SAC1B;aAAM;YACL,sBAAsB;YACtB,6EAA6E;SAC9E;IACH,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,IAAI,IAAI,CAAC,UAAU,KAAK,MAAM,EAAE;YAC9B,qBAAqB;YACrB,wCAAwC;YACxC,EAAE;YACF,mGAAmG;YACnG,kEAAkE;YAClE,uBAAA,IAAI,iCAAY,CAAC,YAAY,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC3D;aAAM;YACL,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACxB;IACH,CAAC;CACF;AAEQ,sCAAa"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TSESTree } from '@typescript-eslint/types';
|
|
2
|
+
import { Referencer } from './Referencer';
|
|
3
|
+
import { Visitor } from './Visitor';
|
|
4
|
+
declare class ImportVisitor extends Visitor {
|
|
5
|
+
#private;
|
|
6
|
+
constructor(declaration: TSESTree.ImportDeclaration, referencer: Referencer);
|
|
7
|
+
static visit(referencer: Referencer, declaration: TSESTree.ImportDeclaration): void;
|
|
8
|
+
protected visitImport(id: TSESTree.Identifier, specifier: TSESTree.ImportDefaultSpecifier | TSESTree.ImportNamespaceSpecifier | TSESTree.ImportSpecifier): void;
|
|
9
|
+
protected ImportNamespaceSpecifier(node: TSESTree.ImportNamespaceSpecifier): void;
|
|
10
|
+
protected ImportDefaultSpecifier(node: TSESTree.ImportDefaultSpecifier): void;
|
|
11
|
+
protected ImportSpecifier(node: TSESTree.ImportSpecifier): void;
|
|
12
|
+
}
|
|
13
|
+
export { ImportVisitor };
|
|
14
|
+
//# sourceMappingURL=ImportVisitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,cAAM,aAAc,SAAQ,OAAO;;gBAIrB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,EAAE,UAAU,EAAE,UAAU;IAM3E,MAAM,CAAC,KAAK,CACV,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,QAAQ,CAAC,iBAAiB,GACtC,IAAI;IAKP,SAAS,CAAC,WAAW,CACnB,EAAE,EAAE,QAAQ,CAAC,UAAU,EACvB,SAAS,EACL,QAAQ,CAAC,sBAAsB,GAC/B,QAAQ,CAAC,wBAAwB,GACjC,QAAQ,CAAC,eAAe,GAC3B,IAAI;IASP,SAAS,CAAC,wBAAwB,CAChC,IAAI,EAAE,QAAQ,CAAC,wBAAwB,GACtC,IAAI;IAKP,SAAS,CAAC,sBAAsB,CAC9B,IAAI,EAAE,QAAQ,CAAC,sBAAsB,GACpC,IAAI;IAKP,SAAS,CAAC,eAAe,CAAC,IAAI,EAAE,QAAQ,CAAC,eAAe,GAAG,IAAI;CAIhE;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 _ImportVisitor_declaration, _ImportVisitor_referencer;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ImportVisitor = void 0;
|
|
16
|
+
const definition_1 = require("../definition");
|
|
17
|
+
const Visitor_1 = require("./Visitor");
|
|
18
|
+
class ImportVisitor extends Visitor_1.Visitor {
|
|
19
|
+
constructor(declaration, referencer) {
|
|
20
|
+
super(referencer);
|
|
21
|
+
_ImportVisitor_declaration.set(this, void 0);
|
|
22
|
+
_ImportVisitor_referencer.set(this, void 0);
|
|
23
|
+
__classPrivateFieldSet(this, _ImportVisitor_declaration, declaration, "f");
|
|
24
|
+
__classPrivateFieldSet(this, _ImportVisitor_referencer, referencer, "f");
|
|
25
|
+
}
|
|
26
|
+
static visit(referencer, declaration) {
|
|
27
|
+
const importReferencer = new ImportVisitor(declaration, referencer);
|
|
28
|
+
importReferencer.visit(declaration);
|
|
29
|
+
}
|
|
30
|
+
visitImport(id, specifier) {
|
|
31
|
+
__classPrivateFieldGet(this, _ImportVisitor_referencer, "f")
|
|
32
|
+
.currentScope()
|
|
33
|
+
.defineIdentifier(id, new definition_1.ImportBindingDefinition(id, specifier, __classPrivateFieldGet(this, _ImportVisitor_declaration, "f")));
|
|
34
|
+
}
|
|
35
|
+
ImportNamespaceSpecifier(node) {
|
|
36
|
+
const local = node.local;
|
|
37
|
+
this.visitImport(local, node);
|
|
38
|
+
}
|
|
39
|
+
ImportDefaultSpecifier(node) {
|
|
40
|
+
const local = node.local;
|
|
41
|
+
this.visitImport(local, node);
|
|
42
|
+
}
|
|
43
|
+
ImportSpecifier(node) {
|
|
44
|
+
const local = node.local;
|
|
45
|
+
this.visitImport(local, node);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.ImportVisitor = ImportVisitor;
|
|
49
|
+
_ImportVisitor_declaration = new WeakMap(), _ImportVisitor_referencer = new WeakMap();
|
|
50
|
+
//# sourceMappingURL=ImportVisitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImportVisitor.js","sourceRoot":"","sources":["../../src/referencer/ImportVisitor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,8CAAwD;AAExD,uCAAoC;AAEpC,MAAM,aAAc,SAAQ,iBAAO;IAIjC,YAAY,WAAuC,EAAE,UAAsB;QACzE,KAAK,CAAC,UAAU,CAAC,CAAC;QAJpB,6CAAkD;QAClD,4CAAiC;QAI/B,uBAAA,IAAI,8BAAgB,WAAW,MAAA,CAAC;QAChC,uBAAA,IAAI,6BAAe,UAAU,MAAA,CAAC;IAChC,CAAC;IAED,MAAM,CAAC,KAAK,CACV,UAAsB,EACtB,WAAuC;QAEvC,MAAM,gBAAgB,GAAG,IAAI,aAAa,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACpE,gBAAgB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACtC,CAAC;IAES,WAAW,CACnB,EAAuB,EACvB,SAG4B;QAE5B,uBAAA,IAAI,iCAAY;aACb,YAAY,EAAE;aACd,gBAAgB,CACf,EAAE,EACF,IAAI,oCAAuB,CAAC,EAAE,EAAE,SAAS,EAAE,uBAAA,IAAI,kCAAa,CAAC,CAC9D,CAAC;IACN,CAAC;IAES,wBAAwB,CAChC,IAAuC;QAEvC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,sBAAsB,CAC9B,IAAqC;QAErC,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;IAES,eAAe,CAAC,IAA8B;QACtD,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC;QACzB,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AAEQ,sCAAa"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TSESTree } from '@typescript-eslint/types';
|
|
2
|
+
import { VisitorBase, VisitorOptions } from './VisitorBase';
|
|
3
|
+
declare type PatternVisitorCallback = (pattern: TSESTree.Identifier, info: {
|
|
4
|
+
assignments: (TSESTree.AssignmentPattern | TSESTree.AssignmentExpression)[];
|
|
5
|
+
rest: boolean;
|
|
6
|
+
topLevel: boolean;
|
|
7
|
+
}) => void;
|
|
8
|
+
declare type PatternVisitorOptions = VisitorOptions;
|
|
9
|
+
declare class PatternVisitor extends VisitorBase {
|
|
10
|
+
#private;
|
|
11
|
+
static isPattern(node: TSESTree.Node): node is TSESTree.Identifier | TSESTree.ObjectPattern | TSESTree.ArrayPattern | TSESTree.SpreadElement | TSESTree.RestElement | TSESTree.AssignmentPattern;
|
|
12
|
+
readonly rightHandNodes: TSESTree.Node[];
|
|
13
|
+
constructor(options: PatternVisitorOptions, rootPattern: TSESTree.Node, callback: PatternVisitorCallback);
|
|
14
|
+
protected ArrayExpression(node: TSESTree.ArrayExpression): void;
|
|
15
|
+
protected ArrayPattern(pattern: TSESTree.ArrayPattern): void;
|
|
16
|
+
protected AssignmentExpression(node: TSESTree.AssignmentExpression): void;
|
|
17
|
+
protected AssignmentPattern(pattern: TSESTree.AssignmentPattern): void;
|
|
18
|
+
protected CallExpression(node: TSESTree.CallExpression): void;
|
|
19
|
+
protected Decorator(): void;
|
|
20
|
+
protected Identifier(pattern: TSESTree.Identifier): void;
|
|
21
|
+
protected MemberExpression(node: TSESTree.MemberExpression): void;
|
|
22
|
+
protected Property(property: TSESTree.Property): void;
|
|
23
|
+
protected RestElement(pattern: TSESTree.RestElement): void;
|
|
24
|
+
protected SpreadElement(node: TSESTree.SpreadElement): void;
|
|
25
|
+
protected TSTypeAnnotation(): void;
|
|
26
|
+
}
|
|
27
|
+
export { PatternVisitor, PatternVisitorCallback, PatternVisitorOptions };
|
|
28
|
+
//# sourceMappingURL=PatternVisitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PatternVisitor.d.ts","sourceRoot":"","sources":["../../src/referencer/PatternVisitor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAkB,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE5D,aAAK,sBAAsB,GAAG,CAC5B,OAAO,EAAE,QAAQ,CAAC,UAAU,EAC5B,IAAI,EAAE;IACJ,WAAW,EAAE,CAAC,QAAQ,CAAC,iBAAiB,GAAG,QAAQ,CAAC,oBAAoB,CAAC,EAAE,CAAC;IAC5E,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;CACnB,KACE,IAAI,CAAC;AAEV,aAAK,qBAAqB,GAAG,cAAc,CAAC;AAC5C,cAAM,cAAe,SAAQ,WAAW;;WACxB,SAAS,CACrB,IAAI,EAAE,QAAQ,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