refakts
Version:
TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.
15 lines • 509 B
TypeScript
import { Node } from 'ts-morph';
export declare class ShadowingDetector {
private scopeAnalyzer;
isUsageInScope(usage: Node, declaration: Node): boolean;
private isShadowedByDeclaration;
private checkForShadowing;
private getScopes;
private findShadowingInScopeChain;
private hasShadowingDeclaration;
private isShadowingDeclaration;
private getVariableName;
private isAnyDeclaration;
private hasMatchingIdentifier;
}
//# sourceMappingURL=shadowing-detector.d.ts.map