fix(types): fix broken syntax in `theme.d.ts` (#1101)

pull/1108/head
Divyansh Singh 2 years ago committed by GitHub
parent 1cc087deee
commit 70b3060be9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
theme.d.ts vendored

@ -1,14 +1,14 @@
// so that users can do `import DefaultTheme from 'vitepress/theme'`
import { ComponentOptions } from 'vue'
import type { ComponentOptions } from 'vue'
export const VPHomeHero = ComponentOptions
export const VPHomeFeatures = ComponentOptions
export const VPHomeSponsors = ComponentOptions
export const VPDocAsideSponsors = ComponentOptions
export const VPTeamPage = ComponentOptions
export const VPTeamPageTitle = ComponentOptions
export const VPTeamPageSection = ComponentOptions
export const VPTeamMembers = ComponentOptions
export const VPHomeHero: ComponentOptions
export const VPHomeFeatures: ComponentOptions
export const VPHomeSponsors: ComponentOptions
export const VPDocAsideSponsors: ComponentOptions
export const VPTeamPage: ComponentOptions
export const VPTeamPageTitle: ComponentOptions
export const VPTeamPageSection: ComponentOptions
export const VPTeamMembers: ComponentOptions
declare const theme: {
Layout: ComponentOptions

Loading…
Cancel
Save