We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed5fed6 commit 7870297Copy full SHA for 7870297
packages/@lwc/template-compiler/src/parser/expression-complex/html.ts
@@ -279,7 +279,7 @@ class TemplateHtmlParser extends Parser<DefaultTreeAdapterMap> {
279
// that, we create a new text node for the template expression rather than
280
// allowing the concatenation to proceed.
281
_insertCharacters(token: Token.CharacterToken) {
282
- const parentNode = this.openElements.current!;
+ const parentNode = this.openElements.current;
283
const previousPeer = parentNode.childNodes.at(-1);
284
const html = this.tokenizer.preprocessor.html;
285
if (
0 commit comments