From: 科科 Date: Tue, 6 Aug 2024 11:49:23 +0000 (+0800) Subject: fix(types): breaking type with auto imported components (#2730) X-Git-Tag: @pinia/nuxt@0.5.3~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82ca41c7d0f15439356c032bc12a4f825a290af6;p=thirdparty%2Fvuejs%2Fpinia.git fix(types): breaking type with auto imported components (#2730) --- diff --git a/packages/pinia/src/globalExtensions.ts b/packages/pinia/src/globalExtensions.ts index 9fe5577e..0ae80d9a 100644 --- a/packages/pinia/src/globalExtensions.ts +++ b/packages/pinia/src/globalExtensions.ts @@ -41,6 +41,7 @@ declare module 'vue/types/options' { */ // @ts-ignore: works on Vue 3, fails in Vue 2 declare module 'vue' { + export interface GlobalComponents {} export interface ComponentCustomProperties { /** * Access to the application's Pinia