.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / experimental-utils / dist / ast-utils / eslint-utils / scopeAnalysis.d.ts
1 import { TSESTree } from '../../ts-estree';
2 import * as TSESLint from '../../ts-eslint';
3 /**
4  * Get the variable of a given name.
5  *
6  * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#findvariable}
7  */
8 declare const findVariable: (initialScope: TSESLint.Scope.Scope, name: string) => TSESLint.Scope.Variable | null;
9 /**
10  * Get the innermost scope which contains a given node.
11  *
12  * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#getinnermostscope}
13  * @returns The innermost scope which contains the given node.
14  * If such scope doesn't exist then it returns the 1st argument `initialScope`.
15  */
16 declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope;
17 export { findVariable, getInnermostScope };
18 //# sourceMappingURL=scopeAnalysis.d.ts.map