github-pages-deploy-action/node_modules/jest-diff/build/index.d.ts

17 lines
806 B
TypeScript
Raw Normal View History

2020-01-28 13:08:03 +08:00
/**
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff } from './cleanupSemantic';
import { diffLinesRaw, diffLinesUnified, diffLinesUnified2 } from './diffLines';
import { diffStringsRaw, diffStringsUnified } from './printDiffs';
2020-03-31 20:40:00 +08:00
import type { DiffOptions } from './types';
export type { DiffOptions, DiffOptionsColor } from './types';
2020-01-28 13:08:03 +08:00
export { diffLinesRaw, diffLinesUnified, diffLinesUnified2 };
export { diffStringsRaw, diffStringsUnified };
export { DIFF_DELETE, DIFF_EQUAL, DIFF_INSERT, Diff };
declare function diff(a: any, b: any, options?: DiffOptions): string | null;
export default diff;