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.