From 94dd3ef486dfeb0a756b2efb09ffaa77fe63d277 Mon Sep 17 00:00:00 2001 From: wChenonly Date: Wed, 14 Aug 2024 09:29:38 +0800 Subject: [PATCH] chore: export type in declaration.ts --- src/core/declaration.ts | 1 + test/__snapshots__/dts.test.ts.snap | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/core/declaration.ts b/src/core/declaration.ts index 2d96dc78..7cd09431 100644 --- a/src/core/declaration.ts +++ b/src/core/declaration.ts @@ -118,6 +118,7 @@ export function getDeclaration(ctx: Context, filepath: string, originalImports?: // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */ diff --git a/test/__snapshots__/dts.test.ts.snap b/test/__snapshots__/dts.test.ts.snap index 7dabf7c9..75752379 100644 --- a/test/__snapshots__/dts.test.ts.snap +++ b/test/__snapshots__/dts.test.ts.snap @@ -5,6 +5,7 @@ exports[`dts > components only 1`] = ` // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */ @@ -23,6 +24,7 @@ exports[`dts > directive only 1`] = ` // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */ @@ -39,6 +41,7 @@ exports[`dts > getDeclaration 1`] = ` // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */ @@ -97,6 +100,7 @@ exports[`dts > vue 2.7 components only 1`] = ` // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */ @@ -115,6 +119,7 @@ exports[`dts > writeDeclaration - keep unused 1`] = ` // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */ @@ -139,6 +144,7 @@ exports[`dts > writeDeclaration 1`] = ` // @ts-nocheck // Generated by unplugin-vue-components // Read more: https://github.com/vuejs/core/pull/3399 +// biome-ignore lint: disable export {} /* prettier-ignore */