@docusaurus/types 0.0.0-4622 → 0.0.0-4625
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.
- package/package.json +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-
|
|
3
|
+
"version": "0.0.0-4625",
|
|
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": "
|
|
26
|
+
"gitHead": "db97af5476fb6b852ff07b1147a8d5a10a102e10"
|
|
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
|
|
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
|
|