UNPKG

@glimmer/syntax

Version:
12 lines (11 loc) 419 B
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 {};