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

metascraper-date typing errors #682

Closed
timothyallan opened this issue Dec 22, 2023 · 2 comments
Closed

metascraper-date typing errors #682

timothyallan opened this issue Dec 22, 2023 · 2 comments

Comments

@timothyallan
Copy link

Prerequisites

  • [X ] I'm using the last version. (^5.42.5)

Something is up with the types, I was using things fine a few days ago, but now can't compile my typescript project anymore with 5.42.5 as I now get errors from the date types:

node_modules/metascraper-date/src/index.d.ts(14,24): error TS1015: Parameter cannot have question mark and initializer.
node_modules/metascraper-date/src/index.d.ts(14,24): error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
@Kikobeats
Copy link
Member

Thanks for reporting; It should be fixed in the latest version, can you verify? 🙂

@timothyallan
Copy link
Author

All fixed, thanks @Kikobeats !

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