UNPKG

@reactionable/cli

Version:
11 lines (10 loc) 487 B
import { Change } from 'diff'; import { CliService } from '../CliService'; export declare class FileDiffService { private readonly cliService; static overwritedFilesChanges: Map<string, Change[]>; constructor(cliService: CliService); getFileContentDiff(filepath: string, fileContent: string, newFileContent: string): Change[]; getOverwritedFilesChanges(filepath: string): Change[] | undefined; setOverwritedFilesChanges(filepath: string, diff: Change[]): void; }