You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error for incorrect SystemStyleObject is wonky.
This will need some work on typings. Not sure how to fix it yet.
I'll work on it next weekend if nobody picks this up faster.
To be clear, I am not reporting that size is missing. This is an easy problem to fix.
My beef is with this error message, which deems entire object to be incorrect, while it's not.
To Reproduce
Steps to reproduce the behavior:
size property is not is not supported (in typings)
We add size.
Entire object becomes burning red.
Expected behavior
Expected: The error is local to the size property.
Screenshots
Notes SystemStyleObject name is inherited from styled-system. Should it be renamed to something more user-friendly before next release?
The text was updated successfully, but these errors were encountered:
hasparus
changed the title
Low precision TypeScript error in SystemStyleObject.
Low precision TypeScript error in SystemStyleObject
Mar 16, 2020
I don't know if I have any insight for the core issue here, but would it make sense to name the type SxStyle? If there are still any dependencies on the styled-system library, we should move away from that as well, since the library is not written in TypeScript
Describe the bug
The error for incorrect SystemStyleObject is wonky.
This will need some work on typings. Not sure how to fix it yet.
I'll work on it next weekend if nobody picks this up faster.
To be clear, I am not reporting that
size
is missing. This is an easy problem to fix.My beef is with this error message, which deems entire object to be incorrect, while it's not.
To Reproduce
Steps to reproduce the behavior:
size
property is not is not supported (in typings)size
.Expected behavior
Expected: The error is local to the
size
property.Screenshots
Notes
SystemStyleObject
name is inherited fromstyled-system
. Should it be renamed to something more user-friendly before next release?The text was updated successfully, but these errors were encountered: