parse.d.ts 366 B

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