joe-bell / cva

Class Variance Authority
https://cva.style
Apache License 2.0
5.78k stars 110 forks source link

cva config can't suggestion key(variants, etc..) when create cva value #296

Closed jiwon79 closed 5 months ago

jiwon79 commented 5 months ago

Describe the bug When create cva value with config, it can't suggestion keys(variants, defaultVariants, compoundVariants)

Expected behavior I want that IDE can suggestion keys(variants, defaultVariants, compoundVariants) and warning only type is wrong.

Screenshots

Screenshot 2024-06-09 at 3 38 32 PM
joe-bell commented 5 months ago

I can't recreate this, I think there may be some other issues at play here

In the meantime, please try using cva@1.0

Thanks!