Closed yvbeek closed 4 years ago
Thanks for that one @yvbeek! I have already switched to your fork and I'm using it. I hope the PR gets merged soon :wink:
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Improves the type declarations to provide some autocomplete when you define the styles and when you use them.
Note: this will likely break code
as MediaQuery
If we want to further improve this, I believe the media-query mechanism would require an overhaul. The stylesheet definition is so dynamic at this point, that it becomes very hard to instruct the TypeScript transcompiler on what's correct and what isn't.
See https://github.com/vitalets/react-native-extended-stylesheet/issues/118 for more information.