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

Expose shared CalendarType type #946

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

jackw
Copy link
Contributor

@jackw jackw commented Aug 5, 2024

Hello! 👋

Firstly, thanks so much for your work on this package! I should probably have opened an issue about this but given it's such a small change I opted for a PR, apologies if that's not the done thing. We can close and take this to an issue if you prefer.

We have need of CalendarType in the grafana codebase here. However I'm not a fan of these nested imports which, if we were to migrate to Vite, I'm pretty sure will fail as the file shared/types is not exported.

This PR simply adds the type we're using to the exports in index.ts to save us from accessing types that aren't (currently) public.

@jackw jackw changed the title Expose shared CalendarType Expose shared CalendarType type Aug 5, 2024
@wojtekmaj wojtekmaj enabled auto-merge (squash) August 5, 2024 12:28
@wojtekmaj wojtekmaj merged commit a0b71ae into wojtekmaj:main Aug 5, 2024
4 checks passed
@jackw jackw deleted the jackw/expose-calendartype branch August 6, 2024 07:14
@jackw
Copy link
Contributor Author

jackw commented Oct 15, 2024

@wojtekmaj I'm sorry to bother you but is there any chance you could cut a release for this change?

@wojtekmaj
Copy link
Owner

It's out!

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 this pull request may close these issues.

2 participants