14 lines
445 B
TypeScript
14 lines
445 B
TypeScript
import { TSESLint } from '@typescript-eslint/utils'
|
|
import { TSESTree } from '@typescript-eslint/types'
|
|
/**
|
|
* Recursively computes all scope references deeply for a given node.
|
|
*
|
|
* @param node - The AST node.
|
|
* @param sourceCode - The source code object.
|
|
* @returns The list of scope references.
|
|
*/
|
|
export declare function computeDeepScopeReferences(
|
|
node: TSESTree.Node,
|
|
sourceCode: TSESLint.SourceCode,
|
|
): TSESLint.Scope.Reference[]
|