Skip to content

fix(date-time): export usable DatePart enum instead just type#1599

Merged
damyanpetev merged 2 commits intomasterfrom
dpetev/date-time-part-export
Mar 7, 2025
Merged

fix(date-time): export usable DatePart enum instead just type#1599
damyanpetev merged 2 commits intomasterfrom
dpetev/date-time-part-export

Conversation

@damyanpetev
Copy link
Member

DatePart is a regular enum and used in public API like .stepUp(DatePart.Minutes) so it needs to be exported as such.
Could always do the aliased union types + const to replace this, but for now fixing the current state.

@damyanpetev damyanpetev merged commit 8c55450 into master Mar 7, 2025
5 checks passed
@damyanpetev damyanpetev deleted the dpetev/date-time-part-export branch March 7, 2025 13:32
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.

2 participants