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