UNPKG

468 BTypeScriptView Raw
1interface GetTemplateLocalsOptions {
2 includeKeywords?: boolean;
3 includeHtmlElements?: boolean;
4}
5/**
6 * Parses and traverses a given handlebars html template to extract all template locals
7 * referenced that could possible come from the praent scope. Can exclude known keywords
8 * optionally.
9 */
10export declare function getTemplateLocals(html: string, options?: GetTemplateLocalsOptions): string[];
11export {};
12//# sourceMappingURL=get-template-locals.d.ts.map
\No newline at end of file