gen-jhipster
Version:
VHipster - Spring Boot + Angular/React/Vue in one handy generator
14 lines (13 loc) • 470 B
TypeScript
type ApplyOptions = {
templateFile: string;
oldFileContents: string;
newFileContents: string;
contextSize?: number;
fuzzFactor?: number;
};
export declare const applyChangesToFile: ({ templateFile, oldFileContents, newFileContents, contextSize, fuzzFactor }: ApplyOptions) => {
success: number;
failures: number;
};
export declare const applyChangesToFileOrCopy: ({ templateFile, oldFileContents, ...opts }: ApplyOptions) => void;
export {};