1.0.5 • Published 2 years ago

@types/gulp-diff v1.0.5

Weekly downloads
20
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/gulp-diff

Summary

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

Details

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

index.d.ts

// Type definitions for gulp-diff 1.0
// Project: https://github.com/creativelive/gulp-diff
// Definitions by: Ika <https://github.com/ikatyang>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

import stream = require('stream');

/**
 * Gulp task to diff files in the stream against a destination.
 * @param dest target directory to diff against, defaults to diff against original source file
 */
declare function gulp_diff(dest?: string): stream.Transform;

declare namespace gulp_diff {
  const diff: typeof gulp_diff;

  function reporter(opts?: ReporterOptions): stream.Transform;
  interface ReporterOptions {
    /**
     * do not show diff information, defaults to `false`
     */
    quiet?: boolean | undefined;
    /**
     * emit an error on finding diffs, defaults to `false`
     */
    fail?: boolean | undefined;
  }
}

export = gulp_diff;

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:02:36 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Ika.

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

4 years ago

1.0.0

8 years ago