Closed
Description
Describe the bug
BNavBar
(and I suspect other places) throws a Typescript error when attempting to use and of the -subtle
color variants:
The documentation states:
Set the variant prop to one of the following values to change the background color: primary, secondary, success, info, warning, danger, dark, light, or any of the *-subtle variants.
(See here.)
Note on Reproduction
In StackBlitz I can't get it to do type inference (it thinks variant
is a string), which is why the repo doesn't "show an error". But Webstorm shows the error just fine.
Reproduction
https://stackblitz.com/edit/github-qebqsr?file=src%2FApp.vue
Used Package Manager
npm
Validations
- Have tested with the latest version. This is still alpha version and sometime things change rapidly.
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.