We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running pnpm run remove-content, it deletes a type SidebarNavItem, which is imported and required by site.ts. Here's how git diff looks.
pnpm run remove-content
SidebarNavItem
site.ts
diff --git a/types/index.d.ts b/types/index.d.ts index 8d056c5..5030481 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -30,15 +30,3 @@ export type MainNavItem = NavItem; export type MarketingConfig = { mainNav: MainNavItem[]; }; - -export type SidebarNavItem = { - title: string; - items: NavItem[]; - authorizeOnly?: UserRole; - icon?: keyof typeof Icons; -}; - -export type DocsConfig = { - mainNav: MainNavItem[]; - sidebarNav: SidebarNavItem[]; -};
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running
pnpm run remove-content
, it deletes a typeSidebarNavItem
, which is imported and required bysite.ts
. Here's how git diff looks.The text was updated successfully, but these errors were encountered: