Skip to content

Commit e8e93e4

Browse files
committed
refactor(types): remove export from augmentation
1 parent 82ca41c commit e8e93e4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/pinia/src/globalExtensions.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ declare module 'vue/types/options' {
4141
*/
4242
// @ts-ignore: works on Vue 3, fails in Vue 2
4343
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 {
4648
/**
4749
* Access to the application's Pinia
4850
*/

0 commit comments

Comments
 (0)