securityos/node_modules/eslint-plugin-sonarjs/lib/utils/utils-ast.d.ts

4 lines
290 B
TypeScript

import type { TSESLint, TSESTree } from '@typescript-eslint/experimental-utils';
export declare function isIdentifier(node: TSESTree.Node, ...values: string[]): node is TSESTree.Identifier;
export declare function isReferenceTo(ref: TSESLint.Scope.Reference, node: TSESTree.Node): boolean;