pashto-grammar/src/types.d.ts

6 lines
115 B
TypeScript

type TableOfContents = {
depth: number,
value: string,
id: string,
children?: TableOfContents,
}[];