@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
14 lines (13 loc) • 665 B
TypeScript
import { NgDocRendererOptions } from '../../interfaces';
/**
* Renders a template with the given options via Nunjucks.
* @param template - The template path to render.
* @param options - The options to render the template with.
*/
export declare function renderTemplate<T extends object>(template: string, options?: NgDocRendererOptions<T>): string;
/**
* Renders a template string with the given options via Nunjucks.
* @param template - The template string to render.
* @param options - The options to render the template with.
*/
export declare function renderTemplateString<T extends object>(template: string, options: NgDocRendererOptions<T>): string;