1
1
// Vitest Snapshot v1
2
2
3
- exports [` dts > getDeclaration 1` ] = `
3
+ exports [` dts > components only 1` ] = `
4
4
"// generated by unplugin-vue-components
5
5
// We suggest you to commit this file into source control
6
6
// Read more: https://github.com/vuejs/core/pull/3399
@@ -14,7 +14,40 @@ declare module '@vue/runtime-core' {
14
14
RouterView: typeof import (' vue-router' )[' RouterView' ]
15
15
TestComp: typeof import (' test/component/TestComp' )[' default' ]
16
16
}
17
+ }
18
+ "
19
+ ` ;
20
+
21
+ exports [` dts > directive only 1` ] = `
22
+ "// generated by unplugin-vue-components
23
+ // We suggest you to commit this file into source control
24
+ // Read more: https://github.com/vuejs/core/pull/3399
25
+ import '@vue/runtime-core'
17
26
27
+ export { }
28
+
29
+ declare module '@vue/runtime-core' {
30
+ export interface ComponentCustomProperties {
31
+ vLoading: typeof import (' test/directive/Loading' )[' default' ]
32
+ }
33
+ }
34
+ "
35
+ ` ;
36
+
37
+ exports [` dts > getDeclaration 1` ] = `
38
+ "// generated by unplugin-vue-components
39
+ // We suggest you to commit this file into source control
40
+ // Read more: https://github.com/vuejs/core/pull/3399
41
+ import '@vue/runtime-core'
42
+
43
+ export { }
44
+
45
+ declare module '@vue/runtime-core' {
46
+ export interface GlobalComponents {
47
+ RouterLink: typeof import (' vue-router' )[' RouterLink' ]
48
+ RouterView: typeof import (' vue-router' )[' RouterView' ]
49
+ TestComp: typeof import (' test/component/TestComp' )[' default' ]
50
+ }
18
51
export interface ComponentCustomProperties {
19
52
vLoading: typeof import (' test/directive/Loading' )[' default' ]
20
53
}
@@ -74,7 +107,6 @@ declare module '@vue/runtime-core' {
74
107
SomeComp: typeof import (' test/component/SomeComp' )[' default' ]
75
108
TestComp: typeof import (' test/component/TestComp' )[' default' ]
76
109
}
77
-
78
110
export interface ComponentCustomProperties {
79
111
vDirective: typeof import (' foo' )
80
112
vLoading: typeof import (' test/directive/Loading' )[' default' ]
@@ -98,7 +130,6 @@ declare module '@vue/runtime-core' {
98
130
RouterView: typeof import (' vue-router' )[' RouterView' ]
99
131
TestComp: typeof import (' test/component/TestComp' )[' default' ]
100
132
}
101
-
102
133
export interface ComponentCustomProperties {
103
134
vLoading: typeof import (' test/directive/Loading' )[' default' ]
104
135
}
0 commit comments