File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ declare const __CARBON__: boolean
4
4
declare const __VUE_PROD_DEVTOOLS__ : boolean
5
5
6
6
declare module '*.vue' {
7
- import { ComponentOptions } from 'vue'
8
- const comp : ComponentOptions
9
- export default comp
7
+ import type { DefineComponent } from 'vue'
8
+ const component : DefineComponent
9
+ export default component
10
10
}
11
11
12
12
declare module '@siteData' {
Original file line number Diff line number Diff line change 1
1
// so that users can do `import DefaultTheme from 'vitepress/theme'`
2
- import type { ComponentOptions } from 'vue'
2
+ import type { DefineComponent } from 'vue'
3
3
4
- export const VPHomeHero : ComponentOptions
5
- export const VPHomeFeatures : ComponentOptions
6
- export const VPHomeSponsors : ComponentOptions
7
- export const VPDocAsideSponsors : ComponentOptions
8
- export const VPTeamPage : ComponentOptions
9
- export const VPTeamPageTitle : ComponentOptions
10
- export const VPTeamPageSection : ComponentOptions
11
- export const VPTeamMembers : ComponentOptions
4
+ // TODO: add props for these
5
+ export const VPHomeHero : DefineComponent
6
+ export const VPHomeFeatures : DefineComponent
7
+ export const VPHomeSponsors : DefineComponent
8
+ export const VPDocAsideSponsors : DefineComponent
9
+ export const VPTeamPage : DefineComponent
10
+ export const VPTeamPageTitle : DefineComponent
11
+ export const VPTeamPageSection : DefineComponent
12
+ export const VPTeamMembers : DefineComponent
12
13
13
14
declare const theme : {
14
- Layout : ComponentOptions
15
- NotFound : ComponentOptions
15
+ Layout : DefineComponent
16
+ NotFound : DefineComponent
16
17
}
17
18
18
19
export default theme
You can’t perform that action at this time.
0 commit comments