refactor: misc cleanup (#10046)
This commit is contained in:
@ -205,7 +205,7 @@ class TemplatePreparseVisitor implements HtmlAstVisitor {
|
||||
var textContent = '';
|
||||
ast.children.forEach(child => {
|
||||
if (child instanceof HtmlTextAst) {
|
||||
textContent += (<HtmlTextAst>child).value;
|
||||
textContent += child.value;
|
||||
}
|
||||
});
|
||||
this.styles.push(textContent);
|
||||
|
Reference in New Issue
Block a user