]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
fix(types): breaking type with auto imported components (#2730)
author科科 <bernankeic@gmail.com>
Tue, 6 Aug 2024 11:49:23 +0000 (19:49 +0800)
committerGitHub <noreply@github.com>
Tue, 6 Aug 2024 11:49:23 +0000 (13:49 +0200)
packages/pinia/src/globalExtensions.ts

index 9fe5577e6122a6d7ccb339c503c5b0f6e078c890..0ae80d9ac972ab20c63d699d958eaf46b69bcd53 100644 (file)
@@ -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