Closed Huseyinnurbaki closed 3 years ago
found it, closing.
i came across the same error, what alternative did you find?
I fixed it. @iamswain25
You can use this one. @hhaluk/node-html-parser
I'm using it in this repository --> https://github.com/Huseyinnurbaki/crypto-watchdog
You could try to solve this by upgrading typescript.
This worked for me, in a vue 2.x project.
package.json
- "typescript": "^3.9.9",
+ "typescript": "^4.3.5",
Interesting issue. Looks like the new TS is inferring template literals for return types. That's pretty wild! That's why it's failing with older TS.
@Huseyinnurbaki I don't recommend keeping a separate fork (as you'll miss out on fixes, etc), but you're welcome to. I'll create an issue and see if we can get it sorted out.
I really don't think this should happen, but it looks like it did, somehow for the last release. When I build it, it compiles as toString(): string
. Investigating the issue, you can follow #143 for that
Hi,
Cannot use it with NestJS.
Steps to reproduce:
Create a nestjs project & install node-html-parse.
Following error prompted
Any typescript supported alternative ?