mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 15:47:23 +02:00
refactor: minor type improvements (#7035)
This commit is contained in:
parent
755b03861c
commit
c81d21a641
4 changed files with 10 additions and 25 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue