feat(nuxt): add new types to vue preset (#29819)

This commit is contained in:
Joaquín Sánchez 2024-11-26 15:09:25 +01:00 committed by GitHub
parent 7e72e06603
commit d53665a841
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,6 +242,8 @@ const vueTypesPreset = defineUnimportPreset({
'Component', 'Component',
'ComponentPublicInstance', 'ComponentPublicInstance',
'ComputedRef', 'ComputedRef',
'DirectiveBinding',
'ExtractDefaultPropTypes',
'ExtractPropTypes', 'ExtractPropTypes',
'ExtractPublicPropTypes', 'ExtractPublicPropTypes',
'InjectionKey', 'InjectionKey',
@ -250,6 +252,7 @@ const vueTypesPreset = defineUnimportPreset({
'MaybeRef', 'MaybeRef',
'MaybeRefOrGetter', 'MaybeRefOrGetter',
'VNode', 'VNode',
'WritableComputedRef',
], ],
}) })