Skip to content

Commit

Permalink
🐛 (vue) Do not reference react types
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Feb 3, 2022
1 parent 9175c61 commit 467ebab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions packages/vue/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -27,4 +16,4 @@ export type {
Mapping,
Theme,
Lang
}
} from '@shared/types'
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

1 comment on commit 467ebab

@vercel
Copy link

@vercel vercel bot commented on 467ebab Feb 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.