Hi, I wanted to report a minor issue that I encountered while working with the TooltipContent component.
Description
When using the TooltipContent component from shadcn-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:
Use the TooltipContent component in a Vue project.
Open the project in IntelliJ IDEA 2024.2.4 (Ultimate Edition).
Observe the warnings related to missing attributes.
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:
shadcn-vue version: Don't know where find version
IntelliJ IDEA version: 2024.2.4 (Ultimate Edition)
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