npm.io
0.2.3 • Published 2 years ago

@types/gulp-clean-dest

Licence
MIT
Version
0.2.3
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/gulp-clean-dest

Summary

This package contains type definitions for gulp-clean-dest (https://github.com/clark800/gulp-clean-dest).

Details

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

index.d.ts

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

declare namespace gulpCleanDest {
    interface Options {
        /**
         * The working directory the folder is relative to.
         */
        cwd?: string | undefined;

        /**
         * Extension of the destination files. Useful if it differs from the original.
         */
        extension?: string | undefined;
    }
}

/**
 * Removes files from the dest directory prior to building.
 * @param destination The name of the dest directory
 * @param options Options for the cleaning process
 */
declare function gulpCleanDest(destination: string, options?: gulpCleanDest.Options): NodeJS.ReadWriteStream;

export = gulpCleanDest;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Andrey Lalev.