chore(v2): Define type for markdown right table of contents (#3306)

This commit is contained in:
Sam Zhou 2020-08-20 11:57:19 -04:00 committed by GitHub
parent fb49a7fc89
commit b38f562322
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 57 additions and 3 deletions

View file

@ -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[];
}