-
-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Clear and concise description of the problem
When I auto-import both a class as both value & type, I get this in a VUE file:
defineProps<{
rule: ItemRelationRule // error here
}>();
Property 'rule' of exported interface has or is using private name 'ItemRelationRule'.ts-plugin(4033)
(alias) class ItemRelationRule
(alias) interface ItemRelationRule
import ItemRelationRule
Suggested solution
I wish there could be some solution to support classes, I guess auto-import.d.ts would contain something like
declare global {
type ItemRelationRule= import('@boost/repository').ItemRelationRule;
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
stereoreader
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request