mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
31 lines
712 B
TypeScript
31 lines
712 B
TypeScript
// Type definitions for gulp-html-replace v1.5.5
|
|
// Project: https://www.npmjs.com/package/gulp-html-replace
|
|
// Definitions by: Peter Juras <https://github.com/peterjuras>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
/// <reference types="node" />
|
|
|
|
|
|
interface AdvancedTask {
|
|
src: string | string[];
|
|
tpl: string;
|
|
}
|
|
|
|
interface Tasks {
|
|
[taskId: string]: string | string[] | AdvancedTask;
|
|
}
|
|
|
|
interface Options {
|
|
keepUnassigned?: boolean;
|
|
keepBlockTags?: boolean;
|
|
resolvePaths?: boolean;
|
|
}
|
|
|
|
interface HtmlReplace {
|
|
(tasks: Tasks, options?: Options): NodeJS.ReadWriteStream;
|
|
}
|
|
|
|
declare const htmlReplace: HtmlReplace;
|
|
export = htmlReplace;
|