fix: nav type

pull/714/head
zRain 3 years ago
parent 26ee6f24aa
commit c64b9503d4
No known key found for this signature in database
GPG Key ID: AFEAF63F7ACA353C

@ -86,12 +86,14 @@ export namespace DefaultTheme {
activeMatch?: string activeMatch?: string
} }
export interface NavItemWithChildren { export type NavItemChildren = {
text?: string
items: {
text?: string text?: string
items: NavItemWithLink[] items: NavItemWithLink[]
}[] }
export interface NavItemWithChildren {
text?: string
items: (NavItemChildren | NavItemWithLink)[]
} }
// sidebar ------------------------------------------------------------------- // sidebar -------------------------------------------------------------------

Loading…
Cancel
Save