Skip to content

Commit

Permalink
feat(shared): improve types of site base
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Dec 27, 2021
1 parent 774b958 commit 66943fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/shared/src/types/site.ts
Expand Up @@ -6,7 +6,7 @@ import type { LocaleConfig } from './locale'
*/
export interface SiteData extends SiteLocaleData {
// site base
base: string
base: '/' | `/${string}/`

// locale config
locales: SiteLocaleConfig
Expand Down

0 comments on commit 66943fb

Please sign in to comment.