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
Since updating the library to version 2.18.0, custom variants defined in the app.config.ts are no longer recognized by TypeScript, resulting in type errors when using these custom variants in the code.
Steps to reproduce:
Define a custom variant in app.config.ts
Observe TypeScript type errors indicating the variant is not recognized when using it to custom another button ( in app.config.ts )
Expected behavior: Custom variants should be properly recognized and validated by TypeScript, as they were in versions prior to 2.18.0.
Thank you for your help in resolving this issue!
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
clairedornic29
changed the title
Custom variants not recognized by TypeScript in app.config.ts after updating to v2.18.3
Custom variants not recognized by TypeScript in app.config.ts after updating to v2.18.0
Sep 19, 2024
Environment
Version
v.2.18.0
Reproduction
https://stackblitz.com/edit/nuxt-ui-k1f28x?file=app.config.ts
Description
Since updating the library to version 2.18.0, custom variants defined in the app.config.ts are no longer recognized by TypeScript, resulting in type errors when using these custom variants in the code.
Steps to reproduce:
Expected behavior: Custom variants should be properly recognized and validated by TypeScript, as they were in versions prior to 2.18.0.
Thank you for your help in resolving this issue!
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: