Skip to content

Commit

Permalink
refactor(types): remove export from augmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Aug 6, 2024
1 parent 82ca41c commit e8e93e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/pinia/src/globalExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ declare module 'vue/types/options' {
*/
// @ts-ignore: works on Vue 3, fails in Vue 2
declare module 'vue' {
export interface GlobalComponents {}
export interface ComponentCustomProperties {
// This seems to be needed to not break auto import types based on the order
// https://github.com/vuejs/pinia/pull/2730
interface GlobalComponents {}
interface ComponentCustomProperties {
/**
* Access to the application's Pinia
*/
Expand Down

0 comments on commit e8e93e4

Please sign in to comment.