Skip to content

Commit 70b3060

Browse files
authored
fix(types): fix broken syntax in theme.d.ts (#1101)
1 parent 1cc087d commit 70b3060

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

theme.d.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
// so that users can do `import DefaultTheme from 'vitepress/theme'`
2-
import { ComponentOptions } from 'vue'
2+
import type { ComponentOptions } from 'vue'
33

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+
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
1212

1313
declare const theme: {
1414
Layout: ComponentOptions

0 commit comments

Comments
 (0)