Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74d5eec

Browse files
authored
fix(types): missing types for nested sidebar group (close: #3127) (#3128)
Currently we are allowed to config nested sub group<sup>[1]</sup>, but the types are missing: [1] https://vuepress.vuejs.org/theme/default-theme-config.html#sidebar-groups
1 parent 5e3a5a0 commit 74d5eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export type SidebarItem4Group = {
8484
/**
8585
* Sidebar children.
8686
*/
87-
children?: Array<SidebarItem4Shortcut>;
87+
children?: Array<SidebarItem4Shortcut|SidebarItem4Group>;
8888
};
8989

9090
/**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /