@typescript-eslint/scope-manager
Version:
TypeScript scope analyser for ESLint
22 lines • 842 B
TypeScript
import type { TSESTree } from '@typescript-eslint/types';
import type { VisitorKeys } from '@typescript-eslint/visitor-keys';
export interface VisitorOptions {
childVisitorKeys?: VisitorKeys | null;
visitChildrenEvenIfSelectorExists?: boolean;
}
export declare abstract class VisitorBase {
#private;
constructor(options: VisitorOptions);
/**
* Default method for visiting children.
* @param node the node whose children should be visited
* @param excludeArr a list of keys to not visit
*/
visitChildren<T extends TSESTree.Node>(node: T | null | undefined, excludeArr?: (keyof T)[]): void;
/**
* Dispatching node.
*/
visit(node: TSESTree.Node | null | undefined): void;
}
export type { VisitorKeys } from '@typescript-eslint/visitor-keys';
//# sourceMappingURL=VisitorBase.d.ts.map