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

1.0.3 • Public • Published

Installation

npm install --save @types/fake-diff

Summary

This package contains type definitions for fake-diff (https://github.com/onurkerimov/fake-diff).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fake-diff.

index.d.ts

export = fakeDiff;

interface FakeDiffOptions {
    /** Hide not changed lines (as default `true`). */
    hideLines?: boolean;

    /**
     * Maximum number of adjacent not changed lines shown.
     * Only takes effect if `hideLines` is `true` (as default `2`).
     */
    maxAdjacentStaticLines?: number;
}

declare function fakeDiff(
    previous: string,
    next: string,
    options?: FakeDiffOptions,
): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Álvaro Mondéjar Rubio.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/fake-diff

Weekly Downloads

17

Version

1.0.3

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • types