UNPKG

792 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7import { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff } from './cleanupSemantic';
8import { diffLinesRaw, diffLinesUnified, diffLinesUnified2 } from './diffLines';
9import { diffStringsRaw, diffStringsUnified } from './printDiffs';
10import type { DiffOptions } from './types';
11export type { DiffOptions, DiffOptionsColor } from './types';
12export { diffLinesRaw, diffLinesUnified, diffLinesUnified2 };
13export { diffStringsRaw, diffStringsUnified };
14export { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff };
15export declare function diff(a: any, b: any, options?: DiffOptions): string | null;