Closed this issue 2 months ago · 2 comments
我没有发现问题怎么出现的,有复现的代码仓库吗
sidebar 的类型定义是:
sidebar
export type Sidebar = SidebarItem[] | SidebarMulti export interface SidebarMulti { [path: string]: SidebarItem[] | { items: SidebarItem[]; base: string } }
我插件中生成的 SidebarMulti 格式的数据,是符合要求的
SidebarMulti