joe-bell / cva

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

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

Closed jiwon79 closed 4 weeks ago

jiwon79 commented 4 weeks 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 4 weeks 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!