0.0.36 • Published 2 years ago

@types/gulp-jade v0.0.36

Weekly downloads
202
License
MIT
Repository
github
Last release
2 years ago

Installation

npm install --save @types/gulp-jade

Summary

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

Details

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

index.d.ts

// Type definitions for gulp-jade
// Project: https://github.com/phated/gulp-jade
// Definitions by: berwyn <https://github.com/berwyn>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped



declare function GulpJade(params?: GulpJade.Params): any;

declare namespace GulpJade {
    interface Params {
        /*******
        * JADE API OPTIONS
        *******/

        /**
        * If the doctype is not specified as part of the
        * template, you can specify it here. It is sometimes
        * useful to get self-closing tags and remove mirroring
        * of boolean attributes.
        */
        doctype?: string | undefined;

        /**
        * Adds whitespace to the resulting html to make it
        * easier for a human to read using '  ' as indentation.
        * If a string is specified, that will be used as
        * indentation instead (e.g. '\t').
        */
        pretty?: boolean | string | undefined;

        /**
        * Use a self namespace to hold the locals (false by default)
        */
        self?: boolean | undefined;

        /**
        * If set to true, the tokens and function body is logged
        * to stdout
        */
        debug?: boolean | undefined;

        /**
        * If set to true, the function source will be included in the
        * compiled template for better error messages (sometimes useful
        * in development). It is enabled by default unless used with
        * express in production mode.
        */
        compileDebug?: boolean | undefined;

        /**
        * If set to true, compiled functions are cached. filename
        * must be set as the cache key.
        */
        cache?: boolean | undefined;

        /*******
        * GULP-JADE OPTIONS
        *******/

        /**
        * Used to set a version of jade other than this library's
        * dependency, or to customise filters.
        */
        jade?: any;

        /**
        * Compile to JS instead of HTML.
        */
        client?: boolean | undefined;

        /**
        * Locals to be used while parsing jade files. Takes
        * precedence over data.
        */
        locals?: any;

        /**
        * Data to be used while parsing jade files. Has lower
        * precedence than locals.
        */
        data?: any;
    }
}

export = GulpJade;

Additional Details

  • Last updated: Thu, 08 Jul 2021 14:22:29 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by berwyn.

0.0.34

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.33

2 years ago

0.0.32

4 years ago

0.0.31

8 years ago

0.0.30

8 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27-alpha

9 years ago

0.0.26-alpha

9 years ago

0.0.25-alpha

9 years ago

0.0.24-alpha

9 years ago

0.0.23-alpha

9 years ago

0.0.22-alpha

9 years ago

0.0.21-alpha

9 years ago

0.0.16-alpha

9 years ago

0.0.15-alpha

9 years ago