.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
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/experimental-utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/experimental-utils/_ts3.4/dist/ast-utils/eslint-utils/scopeAnalysis.d.ts
new file mode 100644 (file)
index 0000000..3a1e615
--- /dev/null
@@ -0,0 +1,18 @@
+import { TSESTree } from '../../ts-estree';\r
+import * as TSESLint from '../../ts-eslint';\r
+/**\r
+ * Get the variable of a given name.\r
+ *\r
+ * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#findvariable}\r
+ */\r
+declare const findVariable: (initialScope: TSESLint.Scope.Scope, name: string) => TSESLint.Scope.Variable | null;\r
+/**\r
+ * Get the innermost scope which contains a given node.\r
+ *\r
+ * @see {@link https://eslint-utils.mysticatea.dev/api/scope-utils.html#getinnermostscope}\r
+ * @returns The innermost scope which contains the given node.\r
+ * If such scope doesn't exist then it returns the 1st argument `initialScope`.\r
+ */\r
+declare const getInnermostScope: (initialScope: TSESLint.Scope.Scope, node: TSESTree.Node) => TSESLint.Scope.Scope;\r
+export { findVariable, getInnermostScope };\r
+//# sourceMappingURL=scopeAnalysis.d.ts.map\r