From 7b010b7b96cb36b37bd2969d5f3790e7c6cec2cc Mon Sep 17 00:00:00 2001 From: cole Date: Tue, 6 Aug 2024 17:09:26 +0800 Subject: [PATCH] fix: breaking type with auto imported components --- 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