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

Simplify MediaQueries type #35

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Simplify MediaQueries type #35

merged 1 commit into from
Oct 13, 2023

Conversation

Brentlok
Copy link
Collaborator

Summary

Types in lib/types/mediaQueries.ts aren't very optimal for future changes. Every type is written by hand. We can use template literal types to fix that issue.

image

@vercel
Copy link

vercel bot commented Oct 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-unistyles-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 13, 2023 8:20am

@jpudysz
Copy link
Owner

jpudysz commented Oct 13, 2023

Tested, looks much, much better!
Thanks @Brentlok

@jpudysz jpudysz merged commit 5dd34c4 into jpudysz:main Oct 13, 2023
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.

2 participants