Files
site/node_modules/diff/libcjs/convert/dmp.d.ts
T
site-admin 3ac81d5a52
deploy / build-and-publish (push) Successful in 1m37s
the editable site (validation-lab)
2026-11-21 08:03:55 +01:00

8 lines
388 B
TypeScript

import type { ChangeObject } from '../types.js';
type DmpOperation = 1 | 0 | -1;
/**
* converts a list of change objects to the format returned by Google's [diff-match-patch](https://github.com/google/diff-match-patch) library
*/
export declare function convertChangesToDMP<ValueT>(changes: ChangeObject<ValueT>[]): [DmpOperation, ValueT][];
export {};
//# sourceMappingURL=dmp.d.ts.map