mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
17 lines
812 B
TypeScript
17 lines
812 B
TypeScript
/**
|
|
* 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';
|
|
import { DiffOptions } from './types';
|
|
export { DiffOptions, DiffOptionsColor } from './types';
|
|
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;
|