compiled
compiled copied to clipboard
Property 'css' does not exist error after upgrade 0.9.1 to 0.10.2
Describe the bug Upgrading @compiled/react from 0.9.1 to 0.10.2 gave me an error:
Property 'css' does not exist on type 'IntrinsicAttributes & ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & StyledProps & { ...; }'.
214 | <StatusInfo> 215 | <StatusIcon
216 | css={{ | ^ 217 | background: isSucceeded ? 'var(--colorSucceess)' : 'var(--colorFailure)' 218 | }} 219 | >
Is it a known issue?
HI @AleksandrMalafeev,
Could you please provide more details, eg steps to replicate. I don't think that we ever come across a similar issue.
Thanks
Same thing happening for me in 0.10.4. I'm using fork-ts-checker-webpack-plugin.
@pancaspe87 Im also seeing this with 0.11.1
.

repro is here: https://github.com/glomotion/compiled-issue-repro