UNPKG

opencoder

Version:
6 lines (5 loc) 174 B
import { type Hunk } from "diff"; export declare function applyEdit(filePath: string, oldString: string, newString: string): { patch: Hunk[]; updatedFile: string; };