UNPKG

human-object-diff

Version:

Human Readable Difference Between Two Objects

12 lines (11 loc) 396 B
import type DiffSentence from './sentence'; import { type InputDiffConfig } from './types'; declare class DiffEngine { diff: (lhs: unknown, rhs: unknown) => string[]; protected readonly sentenceDiffs: DiffSentence[]; protected readonly sentences: string[]; private readonly config; private readonly templates; constructor(config?: InputDiffConfig); } export = DiffEngine;