UNPKG

assertthat

Version:
13 lines (12 loc) 435 B
import { Diff } from '../Diff'; declare const booleanDiffSymbol: unique symbol; declare const booleanDiff: (parameters: Omit<BooleanDiff, 'kind'>) => BooleanDiff; interface BooleanDiff extends Diff { kind: typeof booleanDiffSymbol; cost: number; actual?: boolean; expected?: boolean; } declare const isBooleanDiff: (diff: any) => diff is BooleanDiff; export type { BooleanDiff }; export { booleanDiff, isBooleanDiff };