Having an issue with Typescript 4.3.2 and line 476 on parser.js
var trimmedText = (tag.text || '').trim();
...
TypeError: (tag.text || "").trim is not a function
I output the console and can see in certain scenarios that instead of getting:
{
name: string,
text: string
}
I am getting this kind of structure:
{
name: 'see',
text: [
{ text: 'https', kind: 'text' },
{
text: '://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute',
kind: 'text'
}
]
}
I'll try to dig deeper tonight to see if I can find out what is happening and try to create a simplified demo.
Having an issue with Typescript 4.3.2 and line 476 on
parser.jsI output the console and can see in certain scenarios that instead of getting:
I am getting this kind of structure:
I'll try to dig deeper tonight to see if I can find out what is happening and try to create a simplified demo.