Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"GeneralObject" and "HtmlNodeObject" unrecognized with TypeScript #18

Closed
ShiratGlazer opened this issue Jun 20, 2020 · 2 comments
Closed

Comments

@ShiratGlazer
Copy link

Hi,
When I try to use the package with typescript, tsc says that "GeneralObject" and "HtmlNodeObject" unrecognized.
Changing those type to "any" works for me - but there is one problem:
I want to deploy my work on Heroku, and I cannot do so because it downloads the package itself.
I fixed it by changing the package and adding it to my code (not under the node_modules folder)
Just wanted to ask you if you think there is a better solution :)
Thank you!

@gaoxiaoliangz
Copy link
Owner

Thanks for the feedback, I'll look into it when I have time.

gaoxiaoliangz added a commit that referenced this issue Jul 2, 2020
@gaoxiaoliangz
Copy link
Owner

It has been fixed in v2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants