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
I'm encountering an issue while using the [email protected] library in a monorepo setup with shared style variants for both Next.js and Nuxt.js projects. After using Vite to bundle the shared project, the generated TypeScript declaration file contains confusing type definitions for the class and className properties.
It's my learning project, so it includes both next and nuxt.
Describe the bug
I'm encountering an issue while using the
[email protected]
library in a monorepo setup with shared style variants for both Next.js and Nuxt.js projects. After usingVite
to bundle the shared project, the generated TypeScript declaration file contains confusing type definitions for theclass
andclassName
properties.It's my learning project, so it includes both
next
andnuxt
.To Reproduce
my
vite.config.ts
Expected behavior
I'm not sure if this is a problem with
cva
or if I'm doing something wrong, I want it to generate the right type.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: