(params: {
functionNode: TSESTree.Node
reference: TSESLint.Scope.Reference
scopeManager: TSESLint.Scope.ScopeManager
})
| 74 | return node |
| 75 | }, |
| 76 | isDeclaredInNode(params: { |
| 77 | functionNode: TSESTree.Node |
| 78 | reference: TSESLint.Scope.Reference |
| 79 | scopeManager: TSESLint.Scope.ScopeManager |
| 80 | }) { |
| 81 | const { functionNode, reference, scopeManager } = params |
| 82 | const scope = scopeManager.acquire(functionNode) |
| 83 | |
| 84 | if (scope === null) { |
| 85 | return false |
| 86 | } |
| 87 | |
| 88 | return scope.set.has(reference.identifier.name) |
| 89 | }, |
| 90 | getExternalRefs(params: { |
| 91 | scopeManager: TSESLint.Scope.ScopeManager |
| 92 | sourceCode: Readonly<TSESLint.SourceCode> |
nothing calls this directly
no outgoing calls
no test coverage detected