UNPKG

ng2-json-editor

Version:

Angular2 component for editing large json documents

5 lines (4 loc) 152 B
import { IDiffResult } from 'diff'; export declare class TextDiffService { diffByWord(currentText: string, newText?: string): Array<IDiffResult>; }