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

0.0.7 • Public • Published

Installation

npm install --save @types/gulp-copy

Summary

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

Details

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

index.d.ts

import through = require("through");

/**
 * Copy files to destination and expose those files as source streams for the gulp pipeline.
 *
 * @param outDirectory The name of the destination directory. If this directory
 *                     does not exist, it will be created atomatically.
 */
declare function gulpCopy(outDirectory: string): through.ThroughStream;

/**
 * Copy files to destination and expose those files as source streams for the gulp pipeline.
 *
 * @param outDirectory The name of the destination directory. If this directory
 *                     does not exist, it will be created atomatically.
 * @param options Override values for available settings.
 */
declare function gulpCopy(outDirectory: string, options: gulpCopy.GulpCopyOptions): through.ThroughStream;

declare namespace gulpCopy {
    export interface GulpCopyOptions {
        /**
         * Specifies the number of parts of the path to be ignored as path prefixes.
         */
        prefix: number;
    }
}

export = gulpCopy;

Additional Details

Credits

These definitions were written by Arun Aravind.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-copy

Weekly Downloads

426

Version

0.0.7

License

MIT

Unpacked Size

4.75 kB

Total Files

5

Last publish

Collaborators

  • types