⬅️ Back to Table of Contents
📄 reference-type.test.ts
📊 Analysis Summary
Metric |
Count |
📦 Imports |
4 |
📊 Variables & Constants |
35 |
📚 Table of Contents
🛠️ File Location:
📂 packages/scope-manager/tests/types/reference-type.test.ts
📦 Imports
Name |
Source |
TSESTree |
@typescript-eslint/types |
AST_NODE_TYPES |
@typescript-eslint/types |
simpleTraverse |
@typescript-eslint/typescript-estree |
parseAndAnalyze |
../test-utils/index.js |
Variables & Constants
Name |
Type |
Kind |
Value |
Exported |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
referencingNode |
TSESTree.Node |
const |
nodes[1] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
referencingNode |
TSESTree.Node |
const |
nodes[1] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
referencingNode |
TSESTree.Node |
const |
nodes[1] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
referencingTypeNode |
TSESTree.Node |
const |
nodes[1] |
✗ |
referencingVariableNode |
TSESTree.Node |
const |
nodes[2] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
variableDecl |
TSESTree.Node |
const |
nodes[1] |
✗ |
typeRef |
TSESTree.Node |
const |
nodes[2] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
referencingNode |
TSESTree.Node |
const |
nodes[1] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |
nodes |
TSESTree.Node[] |
const |
[] |
✗ |
node |
TSESTree.Node |
const |
nodes[0] |
✗ |
variable |
Variable |
const |
scopeManager.getDeclaredVariables(node)[0] |
✗ |