mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 22:38:33 +08:00
* Add `IUniDiff` struct, representing a unified diff * Add `IHunk` struct, representing a section of modified lines and context * Fix `createPatch` optional `options` argument * Fix `applyPatch` to accept either a patch string, IUniDiff or IUniDiff array * Add `createTwoFilesPatch`, `structuredPatch` and `applyPatches` * Add test code for these new functions