@softwareventures/maintain-project
Version:
Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited
9 lines (8 loc) • 412 B
TypeScript
import type { File } from "../fs-stage/file.js";
import type { TemplateId } from "./template.js";
export interface ModifyTemplateTextOptions {
readonly templateId: TemplateId;
readonly pathSegments: readonly [string, ...string[]];
readonly modify: (text: string) => string;
}
export declare function modifyTemplateText({ templateId, pathSegments, modify }: ModifyTemplateTextOptions): Promise<File>;