From 38b6638093b21a2a7b472a42ee811462ea9ac602 Mon Sep 17 00:00:00 2001 From: userquin Date: Wed, 6 Nov 2024 13:22:27 +0100 Subject: [PATCH] feat(nuxt): add new types to vue preset --- 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', ], })