Skip to content

Commit

Permalink
fix: Augment GlobalComponents in multiple vue modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Guilbault committed Jul 11, 2024
1 parent 437fbce commit 933b9f8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/vuetify/src/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ declare global {
}
}
}

interface _GlobalComponents {
// @generate-components
}
declare module 'vue' {
export type JSXComponent<Props = any> = { new (): ComponentPublicInstance<Props> } | FunctionalComponent<Props>
export interface GlobalComponents extends _GlobalComponents {}
}

declare module '@vue/runtime-dom' {
Expand All @@ -28,6 +31,7 @@ declare module '@vue/runtime-dom' {
export interface SVGAttributes {
$children?: VNodeChild
}
export interface GlobalComponents extends _GlobalComponents {}
}

declare module '@vue/runtime-core' {
Expand All @@ -43,8 +47,5 @@ declare module '@vue/runtime-core' {
export interface ComponentCustomProperties {
$vuetify: Vuetify
}

export interface GlobalComponents {
// @generate-components
}
export interface GlobalComponents extends _GlobalComponents {}
}

0 comments on commit 933b9f8

Please sign in to comment.