diff --git a/packages/vue/lib/index.ts b/packages/vue/lib/index.ts index 67ced153..4cf45b04 100644 --- a/packages/vue/lib/index.ts +++ b/packages/vue/lib/index.ts @@ -7,17 +7,6 @@ const plugin: Plugin = { export { Giscus, plugin } -import type { - GiscusProps, - BooleanString, - InputPosition, - Session, - Repo, - Mapping, - Theme, - Lang -} from '@shared/types' - export type { GiscusProps, BooleanString, @@ -27,4 +16,4 @@ export type { Mapping, Theme, Lang -} +} from '@shared/types' diff --git a/packages/vue/package.json b/packages/vue/package.json index 6b7390bc..f5458343 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -22,7 +22,7 @@ "lint": "vue-tsc --noEmit", "build": "run-p build:*", "build:script": "vite build", - "build:types": "dts-bundle-generator --no-banner --no-check --external-imports=vue -o dist/index.d.ts lib/index.ts", + "build:types": "dts-bundle-generator --no-banner --no-check --external-imports=vue --external-types= -o dist/index.d.ts lib/index.ts", "serve": "vite preview" }, "peerDependencies": {