mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00: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 |
||
|---|---|---|
| .. | ||
| diff-tests.ts | ||
| diff.d.ts | ||