Skip to content

Commit 9cf2d28

Browse files
committed
fix(theme-default): fix homepage frontmatter type
1 parent 87e0821 commit 9cf2d28

File tree

1 file changed

+2
-2
lines changed
  • packages/@vuepress/theme-default/src/types

1 file changed

+2
-2
lines changed

packages/@vuepress/theme-default/src/types/page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export interface DefaultThemeHomePageFrontmatter {
99
home: true
1010
heroImage?: string
1111
heroAlt?: string
12-
heroText?: string
13-
tagline?: string
12+
heroText?: string | null
13+
tagline?: string | null
1414
actions?: {
1515
text: string
1616
link: string

0 commit comments

Comments
 (0)