UNPKG

ngx-text-diff

Version:
12 lines (11 loc) 402 B
import { diff_match_patch } from 'diff-match-patch'; import { DiffTableRowResult } from './ngx-text-diff.model'; export declare class NgxTextDiffService { diffParser: diff_match_patch; constructor(); private initParser; getDiffsByLines(left: string, right: string): Promise<DiffTableRowResult[]>; private formatOutput; private countDiffs; private getDiffParts; }