style: small fix for code style

pull/161/head
Kia King Ishii 4 years ago
parent d90b9bdfb4
commit 9062dd9a1f

@ -1,5 +1,5 @@
// exports in this file are exposed to themes and md files via 'vitepress' // exports in this file are exposed to themes and md files via 'vitepress'
// so the user can do `import { useRoute, useSiteData } from 'vitepress'`. // so the user can do `import { useRoute, useSiteData } from 'vitepress'`
import { ComponentOptions } from 'vue' import { ComponentOptions } from 'vue'

4
types/shared.d.ts vendored

@ -1,4 +1,4 @@
// types shared between server and client. // types shared between server and client
export interface LocaleConfig { export interface LocaleConfig {
lang: string lang: string
@ -10,10 +10,10 @@ export interface LocaleConfig {
} }
export interface SiteData<ThemeConfig = any> { export interface SiteData<ThemeConfig = any> {
base: string
lang: string lang: string
title: string title: string
description: string description: string
base: string
head: HeadConfig[] head: HeadConfig[]
themeConfig: ThemeConfig themeConfig: ThemeConfig
locales: Record<string, LocaleConfig> locales: Record<string, LocaleConfig>

Loading…
Cancel
Save