Files
routie/frontend/node_modules/eslint-plugin-perfectionist/dist/utils/compute-deep-scope-references.d.ts
T

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[]