@docusaurus/types 0.0.0-4622 → 0.0.0-4623

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.d.ts +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "0.0.0-4622",
3
+ "version": "0.0.0-4623",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -23,5 +23,5 @@
23
23
  "webpack": "^5.69.1",
24
24
  "webpack-merge": "^5.8.0"
25
25
  },
26
- "gitHead": "88fa597b10a32d3f2e3cff963af8337e66f89a13"
26
+ "gitHead": "97710505efdb9fceea33bd2dbb8eaa2860e391a1"
27
27
  }
package/src/index.d.ts CHANGED
@@ -429,12 +429,11 @@ export interface ThemeConfigValidationContext<T> {
429
429
  themeConfig: Partial<T>;
430
430
  }
431
431
 
432
- export interface TOCItem {
432
+ export type TOCItem = {
433
433
  readonly value: string;
434
434
  readonly id: string;
435
- readonly children: TOCItem[];
436
435
  readonly level: number;
437
- }
436
+ };
438
437
 
439
438
  export type RouteChunksTree = {[x: string | number]: string | RouteChunksTree};
440
439