Newton's Principia Mathematica

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

    0.0.32 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @types/gulp-newer

    DownloadsWeekly Downloads

    3,642

    Version

    0.0.32

    License

    MIT

    Unpacked Size

    5.08 kB

    Total Files

    4

    Last publish

    Collaborators

    • types