New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nav types check error #710
Comments
This comment was marked as outdated.
This comment was marked as outdated.
brc-dd
added
bug
Something isn't working
types
Related to typings only
and removed
bug: pending triage
Maybe a bug, waiting for confirmation
labels
Jun 3, 2022
kecrily
added a commit
to kecrily/vitepress
that referenced
this issue
Jun 3, 2022
kecrily
added a commit
to kecrily/vitepress
that referenced
this issue
Jun 3, 2022
My solution: export interface NavItemWithChildren {
text: string
items: {
text?: string
items: NavItemWithLink[]
}[]
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Dropdown menu check:
Reproduction
Set the demo config to nav:
Expected behavior
No type check error.
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: