elearning/Frontend-Learner/node_modules/diff/libcjs/patch/parse.d.ts
2026-01-13 10:48:02 +07:00

8 lines
No EOL
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