html-react-parser and "Unsafe call of an `any` typed value".
Hello friends.
I've got Next hooked up to a CMS. I'm using html-react-parser to parse the data for me and return readable content.
The NavMenu component I'm using it in:
The code runs and does what I want it to. (It turns
But the linter doesn't like it:
I thought it was a local issue, so I restarted the typescript and eslint servers. Restarted vscode. I searched the discord to see if others had the same issue. Tried other nonsense things, but my brain is running out of juice here.
Have y'all run into this?
I've got Next hooked up to a CMS. I'm using html-react-parser to parse the data for me and return readable content.
The NavMenu component I'm using it in:
The code runs and does what I want it to. (It turns
News & Updates into News & Updates).But the linter doesn't like it:
Unsafe call of an any typed value.eslint@typescript-eslint/no-unsafe-callI thought it was a local issue, so I restarted the typescript and eslint servers. Restarted vscode. I searched the discord to see if others had the same issue. Tried other nonsense things, but my brain is running out of juice here.
Have y'all run into this?
