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

0.0.11 • Public • Published

Installation

npm install --save @types/gulp-help-doc

Summary

This package contains type definitions for gulp-help-doc (https://github.com/Mikhus/gulp-help-doc).

Details

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

index.d.ts

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

declare module "gulp-help-doc" {
    import gulp = require("gulp");

    namespace usage {
        interface UsageOptions {
            /**
             * Defines  max line width for the printed output lines
             * (by default is 80 characters long)
             */
            lineWidth?: number | undefined;

            /**
             * Defines max width of the column width tasks or args names
             * (by default is 20 characters long)
             */
            keysColumnWidth?: number | undefined;

            /**
             * Defines number of empty characters for left-padding of the output
             */
            padding?: number | undefined;

            /**
             * Printing engine (by default is console). Accepted any device
             * which has log() function defined to do output.
             */
            logger?: { log: Function } | undefined;

            /**
             * Path to a gulpfile (default is gulpfile.js)
             * Normally, there is no need to change this option. It may be used
             * for some special cases, like mocking gulpfile for testing.
             */
            gulpfile?: string | undefined;
        }

        interface Usage {
            (gulp: gulp.Gulp, options?: UsageOptions): Promise<any>;
        }
    }

    var usage: usage.Usage;

    export = usage;
}

Additional Details

Credits

These definitions were written by Mikhus.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-help-doc

Weekly Downloads

15

Version

0.0.11

License

MIT

Unpacked Size

5.57 kB

Total Files

5

Last publish

Collaborators

  • types