Skip to content

Commit

Permalink
fix(types): NavItem can only have either link or items (#2880)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanryuu authored Aug 30, 2023
1 parent 83270fe commit 12ef12d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/default-theme.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12ef12d

Please sign in to comment.