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

1.5.37 • Public • Published

Installation

npm install --save @types/gulp-html-replace

Summary

This package contains type definitions for gulp-html-replace (https://www.npmjs.com/package/gulp-html-replace).

Details

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

index.d.ts

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

interface AdvancedTask {
    src: string | string[];
    tpl: string;
}

interface Tasks {
    [taskId: string]: string | string[] | AdvancedTask;
}

interface Options {
    keepUnassigned?: boolean | undefined;
    keepBlockTags?: boolean | undefined;
    resolvePaths?: boolean | undefined;
}

interface HtmlReplace {
    (tasks: Tasks, options?: Options): NodeJS.ReadWriteStream;
}

declare const htmlReplace: HtmlReplace;
export = htmlReplace;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Peter Juras.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/gulp-html-replace

Weekly Downloads

339

Version

1.5.37

License

MIT

Unpacked Size

3.65 kB

Total Files

5

Last publish

Collaborators

  • types