@baseplate-dev/sync
Version:
Library for syncing Baseplate descriptions
10 lines • 423 B
TypeScript
import type { StringMergeAlgorithm } from './types.js';
/**
* This algorithm does a 3-way merge between the user's text, the baseplate's text, and the new text using
* the `node-diff3` library.
*
* @param input - Input for the merge algorithm
* @returns Merged text and a boolean indicating if there was a conflict
*/
export declare const diff3MergeAlgorithm: StringMergeAlgorithm;
//# sourceMappingURL=diff3.d.ts.map