UNPKG

assertthat

Version:
12 lines (11 loc) 432 B
import { Diff } from '../Diff'; import { ObjectDiff } from '../forObjects/ObjectDiff'; declare const errorDiffSymbol: unique symbol; declare const errorDiff: (parameters: Omit<ErrorDiff, 'kind'>) => ErrorDiff; interface ErrorDiff extends Diff { kind: typeof errorDiffSymbol; objectDiff: ObjectDiff; } declare const isErrorDiff: (diff: any) => diff is ErrorDiff; export type { ErrorDiff }; export { isErrorDiff, errorDiff };