1.4.3 • Published 2 years ago

@types/gulp-newer v1.4.3

Weekly downloads
5,009
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/gulp-newer

Summary

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

Details

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

index.d.ts

// Type definitions for gulp-newer
// Project: https://github.com/tschaub/gulp-newer
// Definitions by: Thomas Corbière <https://github.com/tomc974>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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


interface IOptions {
    /**
     * Path to destination directory or file.
     */
    dest: string;

    /**
     * Source files will be matched to destination files with the provided extension.
     */
    ext?: string | undefined;

    /**
     * Map relative source paths to relative destination paths.
     */
    map?: ((relativePath: string) => string) | undefined;
}

interface IGulpNewer {
    /**
     * Create a transform stream that passes through files whose modification time
     * is more recent than the corresponding destination file's modification time.
     * @param dest Path to destination directory or file.
     */
    (dest: string): NodeJS.ReadWriteStream;

    /**
     * Create a transform stream that passes through files whose modification time
     * is more recent than the corresponding destination file's modification time.
     */
    (options: IOptions): NodeJS.ReadWriteStream;
}

declare const newer: IGulpNewer;
export = newer;

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:22:31 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Thomas Corbière.

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

0.0.32

4 years ago

0.0.31

8 years ago

0.0.30

8 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27-alpha

9 years ago

0.0.26-alpha

9 years ago

0.0.25-alpha

9 years ago

0.0.24-alpha

9 years ago

0.0.23-alpha

9 years ago

0.0.22-alpha

9 years ago

0.0.21-alpha

9 years ago

0.0.16-alpha

9 years ago

0.0.15-alpha

9 years ago