0.0.11 • Published 7 months ago

@types/gulp-help-doc v0.0.11

Weekly downloads
23
License
MIT
Repository
github
Last release
7 months ago

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

// Type definitions for gulp-help-doc
// Project: https://github.com/Mikhus/gulp-help-doc
// Definitions by: Mikhus <https://github.com/Mikhus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <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.

0.0.10

7 months ago

0.0.11

7 months ago

0.0.9

8 months ago

0.0.8

3 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago