File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/docusaurus-plugin-openapi-docs/src Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
* LICENSE file in the root directory of this source tree.
6
6
* ========================================================================== */
7
7
8
+ import type { TOCItem } from "@docusaurus/mdx-loader" ;
9
+ import type { VersionBanner } from "@docusaurus/plugin-content-docs" ;
8
10
import type { FrontMatter as DocsFrontMatter } from "@docusaurus/types" ;
9
11
import type { Props as DocsProps } from "@docusaurus/types" ;
10
12
11
- // TODO: figure out how to import this
12
13
declare module "docusaurus-plugin-openapi-docs" {
13
14
import type { PropSidebars } from "@docusaurus/plugin-content-docs-types" ;
14
15
@@ -77,7 +78,7 @@ declare module "@theme/ApiItem" {
77
78
readonly frontMatter : FrontMatter ;
78
79
readonly metadata : Metadata ;
79
80
readonly contentTitle : string | undefined ;
80
- readonly toc : array | undefined ;
81
+ readonly toc : readonly TOCItem [ ] | undefined ;
81
82
( ) : JSX . Element ;
82
83
} ;
83
84
}
You can’t perform that action at this time.
0 commit comments