refactor: minor type improvements (#7035)

This commit is contained in:
Joshua Chen 2022-03-28 11:15:37 +08:00 committed by GitHub
parent 755b03861c
commit c81d21a641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 25 deletions

View file

@ -647,13 +647,11 @@ declare module '@docusaurus/plugin-content-docs/client' {
sidebars?: {[sidebarId: string]: GlobalSidebar};
};
export type GlobalSidebarLink = {
label: string;
path: string;
};
export type GlobalSidebar = {
link?: GlobalSidebarLink;
link?: {
label: string;
path: string;
};
// ... we may add other things here later
};
export type GlobalPluginData = {