Files
my_site/node_modules/diff/libesm/patch/parse.d.ts
2026-03-24 14:30:59 +08:00

8 lines
366 B
TypeScript

import type { StructuredPatch } from '../types.js';
/**
* Parses a patch into structured data, in the same structure returned by `structuredPatch`.
*
* @return a JSON object representation of the a patch, suitable for use with the `applyPatch` method.
*/
export declare function parsePatch(uniDiff: string): StructuredPatch[];
//# sourceMappingURL=parse.d.ts.map