boats
Version:
Beautiful Open / Async Template System - Write less yaml with BOATS and Nunjucks.
14 lines (13 loc) • 448 B
TypeScript
interface ISnippets {
injectSnippet: string;
subSnippetPath?: string;
relativeTargetPath: string;
targetName: string;
}
export default class Snippets {
constructor(input: ISnippets);
nunjucksSetup(): void;
copySnippet(snippetName: string, subSnippetPath: string, relativeTargetPath: string, name: string): Promise<string>;
renderPlacedSnippet(targetPath: string, data: Record<any, any>): Promise<void>;
}
export {};