mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
chore(v2): Define type for markdown right table of contents (#3306)
This commit is contained in:
parent
fb49a7fc89
commit
b38f562322
7 changed files with 57 additions and 3 deletions
6
packages/docusaurus-types/src/index.d.ts
vendored
6
packages/docusaurus-types/src/index.d.ts
vendored
|
@ -270,3 +270,9 @@ export interface ValidationSchema<T> {
|
|||
unknown(): ValidationSchema<T>;
|
||||
append(data: any): ValidationSchema<T>;
|
||||
}
|
||||
|
||||
export interface MarkdownRightTableOfContents {
|
||||
readonly value: string;
|
||||
readonly id: string;
|
||||
readonly children: MarkdownRightTableOfContents[];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue