-
-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
unjs/unimport
#218Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpr welcome
Description
Context:
- feat(preset):
pinia
andvuex
presets #60 (comment) - Add type Ref for TypeScript antfu/vue-global-api#10
For example, it would be great to have common types like Ref
, ComputedRef
globally available when using the Vue preset. I would expect the API to be like
{
// auto importing for import
imports: [
'vue'
],
// auto importing for types
types: [
'vue', // again, we could have presets for it.
{
vue: ['Ref', 'ComputedRef']
}
]
}
userquin, Hyphon, posva, Liwoj, Zhaocl1997 and 40 moreposva, Zhaocl1997, extrem7, joemaylor, sullyD64 and 3 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededpr welcome