Skip to content

Commit 8a86ad1

Browse files
committed
parsePatch now always runs in what was previously "strict" mode
kpdecker/jsdiff#508
1 parent 8b78aad commit 8a86ad1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types/diff/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ export function applyPatches(patch: string | ParsedDiff[], options: ApplyPatches
387387
*
388388
* @returns A JSON object representation of the a patch, suitable for use with the `applyPatch()` method.
389389
*/
390-
export function parsePatch(diffStr: string, options?: { strict?: boolean | undefined }): ParsedDiff[];
390+
export function parsePatch(uniDiff: string): ParsedDiff[];
391391

392392
/**
393393
* Converts a list of changes to a serialized XML format.

0 commit comments

Comments
 (0)