@docusaurus/module-type-aliases 0.0.0-4115 → 0.0.0-4121

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 +6 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/module-type-aliases",
3
- "version": "0.0.0-4115",
3
+ "version": "0.0.0-4121",
4
4
  "description": "Docusaurus module type aliases.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -19,5 +19,5 @@
19
19
  "@types/react-router-dom": "*"
20
20
  },
21
21
  "license": "MIT",
22
- "gitHead": "f58a77389348b1b641ca8df9d36583c7012a2fbd"
22
+ "gitHead": "fff851969ebfed991f0104c3372c4d9814773c88"
23
23
  }
package/src/index.d.ts CHANGED
@@ -6,6 +6,7 @@
6
6
  */
7
7
 
8
8
  declare module '@generated/client-modules' {
9
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
10
  const clientModules: readonly any[];
10
11
  export default clientModules;
11
12
  }
@@ -26,6 +27,7 @@ declare module '@generated/site-metadata' {
26
27
 
27
28
  declare module '@generated/registry' {
28
29
  const registry: {
30
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
29
31
  readonly [key: string]: [() => Promise<any>, string, string];
30
32
  };
31
33
  export default registry;
@@ -50,7 +52,8 @@ declare module '@generated/routesChunkNames' {
50
52
  }
51
53
 
52
54
  declare module '@generated/globalData' {
53
- const globalData: Record<string, unknown>;
55
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
56
+ const globalData: Record<string, any>;
54
57
  export default globalData;
55
58
  }
56
59
 
@@ -89,7 +92,7 @@ declare module '@theme/Loading' {
89
92
  }
90
93
 
91
94
  declare module '@theme/NotFound' {
92
- export default function NotFound(props: any): JSX.Element;
95
+ export default function NotFound(): JSX.Element;
93
96
  }
94
97
 
95
98
  declare module '@theme/Root' {
@@ -292,6 +295,7 @@ declare module '@docusaurus/useGlobalData' {
292
295
  pluginId?: string,
293
296
  ): T;
294
297
 
298
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
295
299
  function useGlobalData(): Record<string, any>;
296
300
  export default useGlobalData;
297
301
  }