From d53665a8410d62dde45e16ea67202f9313ed53b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez?= Date: Tue, 26 Nov 2024 15:09:25 +0100 Subject: [PATCH] feat(nuxt): add new types to vue preset (#29819) --- packages/nuxt/src/imports/presets.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nuxt/src/imports/presets.ts b/packages/nuxt/src/imports/presets.ts index d04c2badc1..40a6e557f1 100644 --- a/packages/nuxt/src/imports/presets.ts +++ b/packages/nuxt/src/imports/presets.ts @@ -242,6 +242,8 @@ const vueTypesPreset = defineUnimportPreset({ 'Component', 'ComponentPublicInstance', 'ComputedRef', + 'DirectiveBinding', + 'ExtractDefaultPropTypes', 'ExtractPropTypes', 'ExtractPublicPropTypes', 'InjectionKey', @@ -250,6 +252,7 @@ const vueTypesPreset = defineUnimportPreset({ 'MaybeRef', 'MaybeRefOrGetter', 'VNode', + 'WritableComputedRef', ], })