Closed robinclaes closed 5 months ago
Unable to recreate this – I'm using false
in many projects with no issues. Please provide a working reproduction
We were still using an older version of the package. After updating from 0.4.0 to 0.7.0 this issue was resolved. Sorry for the inconvenience 🙈.
Describe the bug When using cx with false values, Typescript complains that false is not assignable to 'ClassValue'.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect no typescript error, as the underlying library clsx can handle
false
as a value.Software used: