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

fix: filter error with as const unions #201

Merged
merged 11 commits into from
Aug 24, 2024

Conversation

none23
Copy link
Contributor

@none23 none23 commented Aug 21, 2024

Works for typescript versions >=5.2.2
TS Playground demo

Closes #193

@mattpocock
Copy link
Owner

Incredible, I was hunting for something here but couldn't find it. Great work!

@mattpocock mattpocock merged commit 7fd11d3 into mattpocock:main Aug 24, 2024
1 check passed
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.

Filter throws error when using as const
2 participants