Skip to content

Commit 94dd3ef

Browse files
committed
chore: export type in declaration.ts
1 parent addd570 commit 94dd3ef

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/core/declaration.ts

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ export function getDeclaration(ctx: Context, filepath: string, originalImports?:
118118
// @ts-nocheck
119119
// Generated by unplugin-vue-components
120120
// Read more: https://github.com/vuejs/core/pull/3399
121+
// biome-ignore lint: disable
121122
export {}
122123
123124
/* prettier-ignore */

test/__snapshots__/dts.test.ts.snap

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ exports[`dts > components only 1`] = `
55
// @ts-nocheck
66
// Generated by unplugin-vue-components
77
// Read more: https://github.com/vuejs/core/pull/3399
8+
// biome-ignore lint: disable
89
export {}
910
1011
/* prettier-ignore */
@@ -23,6 +24,7 @@ exports[`dts > directive only 1`] = `
2324
// @ts-nocheck
2425
// Generated by unplugin-vue-components
2526
// Read more: https://github.com/vuejs/core/pull/3399
27+
// biome-ignore lint: disable
2628
export {}
2729
2830
/* prettier-ignore */
@@ -39,6 +41,7 @@ exports[`dts > getDeclaration 1`] = `
3941
// @ts-nocheck
4042
// Generated by unplugin-vue-components
4143
// Read more: https://github.com/vuejs/core/pull/3399
44+
// biome-ignore lint: disable
4245
export {}
4346
4447
/* prettier-ignore */
@@ -97,6 +100,7 @@ exports[`dts > vue 2.7 components only 1`] = `
97100
// @ts-nocheck
98101
// Generated by unplugin-vue-components
99102
// Read more: https://github.com/vuejs/core/pull/3399
103+
// biome-ignore lint: disable
100104
export {}
101105
102106
/* prettier-ignore */
@@ -115,6 +119,7 @@ exports[`dts > writeDeclaration - keep unused 1`] = `
115119
// @ts-nocheck
116120
// Generated by unplugin-vue-components
117121
// Read more: https://github.com/vuejs/core/pull/3399
122+
// biome-ignore lint: disable
118123
export {}
119124
120125
/* prettier-ignore */
@@ -139,6 +144,7 @@ exports[`dts > writeDeclaration 1`] = `
139144
// @ts-nocheck
140145
// Generated by unplugin-vue-components
141146
// Read more: https://github.com/vuejs/core/pull/3399
147+
// biome-ignore lint: disable
142148
export {}
143149
144150
/* prettier-ignore */

0 commit comments

Comments
 (0)