chore: improve intellisense in codebase (#17599)

* chore: improve intellisense in codebase

* bump unplugin-vue-components
This commit is contained in:
dopamine 2024-07-27 22:00:27 +08:00 committed by GitHub
parent b692e37e57
commit 88e1f2de7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 469 additions and 414 deletions

12
docs/components.d.ts vendored
View File

@ -1,9 +1,11 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
/* eslint-disable */
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
import '@vue/runtime-core'
export {}
declare module '@vue/runtime-core' {
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
A11yTag: typeof import('./.vitepress/vitepress/components/dev/a11y-tag.vue')['default']
AxureComponentsSvg: typeof import('./.vitepress/vitepress/components/globals/resources/axure-components-svg.vue')['default']
@ -185,5 +187,3 @@ declare module '@vue/runtime-core' {
VpTranslation: typeof import('./.vitepress/vitepress/components/navbar/vp-translation.vue')['default']
}
}
export {}

View File

@ -40,7 +40,7 @@
"octokit": "^2.0.3",
"unocss": "0.33.5",
"unplugin-icons": "^0.14.6",
"unplugin-vue-components": "^0.20.1",
"unplugin-vue-components": "^0.27.3",
"unplugin-vue-macros": "^0.11.2",
"vite": "^2.9.15",
"vite-plugin-inspect": "^0.5.0",

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,7 @@
"types": ["unplugin-vue-macros/macros-global"],
"skipLibCheck": true
},
"include": ["packages", "typings/components.d.ts", "typings/env.d.ts"],
"include": ["packages", "typings/env.d.ts"],
"exclude": [
"node_modules",
"**/dist",

View File

@ -1,7 +1,4 @@
// For this project development
import '@vue/runtime-core'
declare module '@vue/runtime-core' {
declare module 'vue' {
// GlobalComponents for Volar
export interface GlobalComponents {
ElAffix: typeof import('../packages/element-plus')['ElAffix']