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

Add @name in constants jsdocs to fix type generation duplication #3125

Merged

Conversation

fturmel
Copy link
Member

@fturmel fturmel commented Jul 22, 2022

Closes #3119

Copy link
Contributor

@leshakoss leshakoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooff, thanks a lot!

@leshakoss leshakoss merged commit 04f4aae into date-fns:master Jul 22, 2022
@fturmel fturmel deleted the PR/fix-constants-jsdocs-type-generation branch July 22, 2022 12:07
@leshakoss
Copy link
Contributor

Released as https://github.com/date-fns/date-fns/releases/tag/v2.29.1 Thank you so much @fturmel!

@fturmel
Copy link
Member Author

fturmel commented Jul 22, 2022

@leshakoss You're welcome. Shoutout to @tom-spikeglobal for the early issue report before 2.29 was even released.

This is something the CI tests should've caught imo, I invite you to look at some old PRs I opened to improve the linter and type checks: #2948 #2949

Let me know in the PRs themselves if you're interested, and we can fix the current conflicts, etc. Some of the linter rules I added (fixing bad import paths, using import type, missing explicit return types, etc) are manually getting fixed and sneak back into the code base regularly.

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

Successfully merging this pull request may close these issues.

Duplicate variables in types (Cannot redeclare block-scoped variable 'daysInWeek')
2 participants