diff-match-patch.d.ts 449 B

123456789101112131415
  1. // Type definitions for Diff-match-patch
  2. // Project: https://code.google.com/p/google-diff-match-patch/
  3. // as bundled by https://www.npmjs.com/package/diff-match-patch
  4. // Definitions by: Jason Grout <https://github.com/jasongrout/>
  5. declare module diff_match_patch {
  6. class diff_match_patch {
  7. match_main(text: string, pattern: string, loc: number): number
  8. }
  9. }
  10. declare module 'diff-match-patch' {
  11. export = diff_match_patch;
  12. }