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
emotion's CssObject type allows for incorrect property values.
To reproduce:
This error was actually found by bumping csstypes dependency and running dtslint on @emotion/serialize package, so the reproduction is already there; minimized:
Current behavior:
emotion
'sCssObject
type allows for incorrect property values.To reproduce:
This error was actually found by bumping
csstypes
dependency and runningdtslint
on@emotion/serialize
package, so the reproduction is already there; minimized:With
csstypes@3.1.2
, this compiles successfully.Expected behavior:
With
csstypes@3.0.2
, i.e. the minimal version required by@emotion/serialize
, this code errors as expected.Environment information:
@emotion/react
version: currentmain
branch at the moment of issue creation, i.e. commit 1c6031.The text was updated successfully, but these errors were encountered: