mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-23 19:48:54 +02:00
feat(v2): Provide docs plugin typing (#3328)
This commit is contained in:
parent
b86806460c
commit
d299b99631
10 changed files with 125 additions and 35 deletions
|
@ -7,13 +7,15 @@
|
|||
|
||||
import {
|
||||
LoadedVersion,
|
||||
PropSidebars,
|
||||
SidebarItemDoc,
|
||||
SidebarItemLink,
|
||||
PropVersionMetadata,
|
||||
SidebarItem,
|
||||
PropSidebarItem,
|
||||
} from './types';
|
||||
import {
|
||||
PropSidebars,
|
||||
PropVersionMetadata,
|
||||
PropSidebarItem,
|
||||
} from '@docusaurus/plugin-content-docs-types';
|
||||
import {keyBy, mapValues} from 'lodash';
|
||||
|
||||
export function toSidebarsProp(loadedVersion: LoadedVersion): PropSidebars {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue