fix(types): NavItem can only have either link or items (#2880)

pull/2884/head
Evan Liu 1 year ago committed by GitHub
parent 83270fe657
commit 12ef12d633
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -154,6 +154,7 @@ export namespace DefaultTheme {
export interface NavItemWithLink {
text: string
link: string
items?: never
/**
* `activeMatch` is expected to be a regex string. We can't use actual

Loading…
Cancel
Save