@docusaurus/module-type-aliases 0.0.0-5037 → 0.0.0-5041

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 +3 -3
  2. package/src/index.d.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/module-type-aliases",
3
- "version": "0.0.0-5037",
3
+ "version": "0.0.0-5041",
4
4
  "description": "Docusaurus module type aliases.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -12,7 +12,7 @@
12
12
  "directory": "packages/docusaurus-module-type-aliases"
13
13
  },
14
14
  "dependencies": {
15
- "@docusaurus/types": "0.0.0-5037",
15
+ "@docusaurus/types": "0.0.0-5041",
16
16
  "@types/react": "*",
17
17
  "@types/react-router-config": "*",
18
18
  "@types/react-router-dom": "*",
@@ -23,5 +23,5 @@
23
23
  "react-dom": "*"
24
24
  },
25
25
  "license": "MIT",
26
- "gitHead": "923ee2cb13be47d28b5286d469ccab06d85a87df"
26
+ "gitHead": "5a3b9a5a3a9c680f7f6d29b622416fc30cd8275d"
27
27
  }
package/src/index.d.ts CHANGED
@@ -35,9 +35,11 @@ declare module '@generated/registry' {
35
35
 
36
36
  declare module '@generated/routes' {
37
37
  import type {RouteConfig as RRRouteConfig} from 'react-router-config';
38
+ import type Loadable from 'react-loadable';
38
39
 
39
40
  type RouteConfig = RRRouteConfig & {
40
41
  path: string;
42
+ component: ReturnType<typeof Loadable>;
41
43
  };
42
44
  const routes: RouteConfig[];
43
45
  export default routes;