UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

11 lines 628 B
import type { TemplateExtractorContext } from '../runner/template-extractor-context.js'; /** * Cleans up template and generated files that are not referenced in the extractor.json * for the specified generators. * * @param generatorNames - Array of generator names to clean up files for * @param context - Template extractor context containing config lookup and file container * @throws Error if no config is found for a generator */ export declare function cleanupUnusedTemplateFiles(generatorNames: string[], context: TemplateExtractorContext): Promise<void>; //# sourceMappingURL=cleanup-unused-template-files.d.ts.map