[Bug]: TooltipContent: Missing Required Attribute Warnings in IntelliJ IDEA #863
Labels
need-reproduction
Issue is lacking reproduction. Will be close if not provided.
question
Further information is requested
Reproduction
Can't really have a reproduction
Describe the bug
Hi, I wanted to report a minor issue that I encountered while working with the
TooltipContent
component.Description
When using the
TooltipContent
component fromshadcn-vue
, IntelliJ IDEA 2024.2.4 (Ultimate Edition) displays 9 warnings for missing required attributes, even though the component functions correctly without explicitly setting these attributes.Warnings:
Steps to Reproduce:
TooltipContent
component in a Vue project.Expected Behavior:
No warnings should be shown if these attributes are optional and have default values handled internally by the component.
Actual Behavior:
Warnings are displayed for missing required attributes.
Additional Information:
Is there a way to configure IntelliJ IDEA to avoid these warnings, or should the component's TypeScript definitions be updated to reflect the optional nature of these attributes?
Environment:
System Info
Contributes
The text was updated successfully, but these errors were encountered: