@glimmer/syntax
Version:
12 lines • 468 B
TypeScript
interface GetTemplateLocalsOptions {
includeKeywords?: boolean;
includeHtmlElements?: boolean;
}
/**
* Parses and traverses a given handlebars html template to extract all template locals
* referenced that could possible come from the parent scope. Can exclude known keywords
* optionally.
*/
export declare function getTemplateLocals(html: string, options?: GetTemplateLocalsOptions): string[];
export {};
//# sourceMappingURL=get-template-locals.d.ts.map