Skip to content

Commit 200838d

Browse files
committed
chore: correct interface with file name
1 parent 980dbf3 commit 200838d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// Note: this file is auto concatenated to the end of the bundled d.ts during
22
// build.
33

4+
import { DefineComponent } from '@vue/runtime-core'
45
declare module '@vue/runtime-core' {
5-
interface GlobalDirectives {
6-
vShow: typeof vShow
6+
interface GlobalComponents {
7+
Transition: DefineComponent<TransitionProps>
8+
TransitionGroup: DefineComponent<TransitionGroupProps>
79
}
810
}
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
// Note: this file is auto concatenated to the end of the bundled d.ts during
22
// build.
33

4-
import { DefineComponent } from '@vue/runtime-core'
54
declare module '@vue/runtime-core' {
6-
interface GlobalComponents {
7-
Transition: DefineComponent<TransitionProps>
8-
TransitionGroup: DefineComponent<TransitionGroupProps>
5+
interface GlobalDirectives {
6+
vShow: typeof vShow
97
}
108
}

0 commit comments

Comments
 (0)