Skip to content

Commit

Permalink
fix(types): missing types for nested sidebar group (close: #3127)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Feb 25, 2023
1 parent 5e3a5a0 commit 24af7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vuepress/types/src/theme-default.ts
Expand Up @@ -84,7 +84,7 @@ export type SidebarItem4Group = {
/**
* Sidebar children.
*/
children?: Array<SidebarItem4Shortcut>;
children?: Array<SidebarItem4Shortcut | SidebarItem4Group>;
};

/**
Expand Down

0 comments on commit 24af7a7

Please sign in to comment.