refactor(types): remove export from augmentation 路 vuejs/pinia@e8e93e4 (original) (raw)

Original file line number Diff line number Diff line change
@@ -41,8 +41,10 @@ declare module 'vue/types/options' {
41 41 */
42 42 // @ts-ignore: works on Vue 3, fails in Vue 2
43 43 declare module 'vue' {
44 -export interface GlobalComponents {}
45 -export interface ComponentCustomProperties {
44 +// This seems to be needed to not break auto import types based on the order
45 +// https://github.com/vuejs/pinia/pull/2730
46 +interface GlobalComponents {}
47 +interface ComponentCustomProperties {
46 48 /**
47 49 * Access to the application's Pinia
48 50 */