2.0.9 • Published 6 months ago

@types/gulp-angular-templatecache v2.0.9

Weekly downloads
4,296
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/gulp-angular-templatecache

Summary

This package contains type definitions for gulp-angular-templatecache (https://github.com/miickel/gulp-angular-templatecache).

Details

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

index.d.ts

// Type definitions for gulp-angular-templatecache v2.0.0
// Project: https://github.com/miickel/gulp-angular-templatecache
// Definitions by: Aman Mahajan <https://github.com/amanmahajan7>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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

declare module "gulp-angular-templatecache" {
    function templatecache(): NodeJS.ReadWriteStream;
    function templatecache(filename: string): NodeJS.ReadWriteStream;
    function templatecache(options: templatecache.Options): NodeJS.ReadWriteStream;
    function templatecache(filename: string, options: templatecache.Options): NodeJS.ReadWriteStream;

    namespace templatecache {
        interface Options {
            /**
             * Name to use when concatenating.
             */
            filename?: string | undefined;

            /**
             * Prefix for template URLs.
             */
            root?: string | undefined;

            /**
             * Name of AngularJS module.
             */
            module?: string | undefined;

            /**
             * Create a new AngularJS module, instead of using an existing.
             */
            standalone?: boolean | undefined;

            /**
             * Override file base path.
             */
            base?: string | Function | undefined;

            /**
             * Wrap the templateCache in a module system. Currently supported systems: RequireJS, Browserify, ES6 and IIFE (Immediately-Invoked Function Expression).
             */
            moduleSystem?: string | undefined;

            /**
             * Transform the generated URL before it's put into $templateCache.
             */
            transformUrl?: Function | undefined;

            /**
             * Override template header.
             */
            templateHeader?: string | undefined;

            /**
             * Override template body.
             */
            templateBody?: string | undefined;

            /**
             * Override template footer.
             */
            templateFooter?: string | undefined;
        }
    }

    export = templatecache;
}

Additional Details

  • Last updated: Thu, 08 Jul 2021 12:02:33 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Aman Mahajan.

2.0.9

6 months ago

2.0.8

7 months ago

2.0.7

1 year ago

2.0.6

3 years ago

2.0.5

4 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

8 years ago