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
After upgrading to Panda 0.36.0 I noticed a new TS error Expression produces a union type that is too complex to represent. when using css prop on JSX component.
this happens because you're importing the (generic one) SystemStyleObject from @pandacss/dev instead of the (custom specific to your config) one from your local styled-system
Description
After upgrading to Panda
0.36.0
I noticed a new TS errorExpression produces a union type that is too complex to represent.
when usingcss
prop on JSX component.Here is the simplest reproduction:
More advanced reproduction: https://play.panda-css.com/u231oHYIOv (see line 39)
Link to Reproduction
https://play.panda-css.com/u231oHYIOv
Steps to reproduce
JS Framework
React (TS)
Panda CSS Version
0.36.0
Browser
Google Chrome 123
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: