UNPKG

refakts

Version:

TypeScript refactoring tool built for AI coding agents to perform precise refactoring operations via command line instead of requiring complete code regeneration.

10 lines 397 B
import { Node } from 'ts-morph'; export declare class ExpressionAnalyzer { needsParentheses(node: Node, context?: Node): boolean; formatWithParentheses(initializer: Node, context?: Node): string; private isSimpleAdditionOrSubtraction; private isAdditionOrSubtraction; private hasSimpleOperands; private areSimpleOperands; } //# sourceMappingURL=expression-analyzer.d.ts.map