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

TypeScript error when using sample from README #9

Closed
acherkashin opened this issue Dec 19, 2023 · 3 comments · Fixed by #10
Closed

TypeScript error when using sample from README #9

acherkashin opened this issue Dec 19, 2023 · 3 comments · Fixed by #10

Comments

@acherkashin
Copy link
Contributor

Error

'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.ts(7009)
image image

I guess, new is unnecessary here

@anbraten
Copy link
Owner

anbraten commented Dec 19, 2023

Yep, I think I just forgot to update it. Would you like to open a PR to adjust it?

@acherkashin
Copy link
Contributor Author

@anbraten I think I could submit a PR this week to fix it 👍
Thank you for offering this opportunity!

@acherkashin
Copy link
Contributor Author

@anbraten it is here #10

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

Successfully merging a pull request may close this issue.

2 participants