From 82ca41c7d0f15439356c032bc12a4f825a290af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=91=E7=A7=91?= Date: Tue, 6 Aug 2024 19:49:23 +0800 Subject: [PATCH] fix(types): breaking type with auto imported components (#2730) --- packages/pinia/src/globalExtensions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/pinia/src/globalExtensions.ts b/packages/pinia/src/globalExtensions.ts index 9fe5577e61..0ae80d9ac9 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