@toreda/build-tools
Version:

10 lines (9 loc) • 372 B
TypeScript
/// <reference types="node" />
import { Config } from './config';
import { EventEmitter } from 'events';
export declare class Inject {
readonly events: EventEmitter;
readonly cfg: Config;
constructor(cfg: Config, events: EventEmitter);
content(content: string, templatePath: string, srcPattern: string, dstPath: string): Promise<NodeJS.ReadWriteStream>;
}