unimport
unimport copied to clipboard
Add ExtractPropTypes to exported types in vue preset
Describe the feature
Looking into the exported types of Vue, I noticed the absence of the 'ExportPropTypes' export. Is there a specific reason for not including this or other types? Should I manually add an import for this type from Vue in my 'unplugin-auto-import' configuration instead?
src/presets/vue.ts
// types
...[
'Component',
'ComponentPublicInstance',
'ComputedRef',
'InjectionKey',
'PropType',
'Ref',
'VNode',
'WritableComputedRef'
].map(name => ({ name, type: true }))
Thanks in advance!
Additional information
- [X] Would you be willing to help implement this feature?
Sure, PR welcome
I think this issue can be closed now.