@types/textdiff-patch
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Installation

npm install --save @types/textdiff-patch

Summary

This package contains type definitions for textdiff-patch (https://github.com/icflorescu/textdiff-patch#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/textdiff-patch.

index.d.ts

declare namespace TextDiffPatch {
    type Change = [1, string] | [0, number] | [-1, number];
}
declare function TextDiffPatch(v1: string, patch: TextDiffPatch.Change[]): string;
export = TextDiffPatch;

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Joe Barnett.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/textdiff-patch

      Weekly Downloads

      233

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      2.99 kB

      Total Files

      5

      Last publish

      Collaborators

      • types