@docusaurus/module-type-aliases 0.0.0-4091 → 0.0.0-4096

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 +33 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/module-type-aliases",
3
- "version": "0.0.0-4091",
3
+ "version": "0.0.0-4096",
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": "ff932162c3ac0430b19da71712add64def540eb5"
22
+ "gitHead": "1f617feadd57d60c07d0aa08f4055216d936fdc4"
23
23
  }
package/src/index.d.ts CHANGED
@@ -69,11 +69,41 @@ declare module '@generated/codeTranslations' {
69
69
  export default codeTranslations;
70
70
  }
71
71
 
72
- declare module '@theme/*';
73
-
74
72
  declare module '@theme-original/*';
75
73
 
76
- declare module '@docusaurus/*';
74
+ declare module '@theme/Layout' {
75
+ import type {ReactNode} from 'react';
76
+
77
+ export interface Props {
78
+ readonly children: ReactNode;
79
+ readonly title?: string;
80
+ readonly description?: string;
81
+ }
82
+ export default function Layout(props: Props): JSX.Element;
83
+ }
84
+
85
+ declare module '@theme/Loading' {
86
+ import type {LoadingComponentProps} from 'react-loadable';
87
+
88
+ export default function Loading(props: LoadingComponentProps): JSX.Element;
89
+ }
90
+
91
+ declare module '@theme/NotFound' {
92
+ export default function NotFound(props: any): JSX.Element;
93
+ }
94
+
95
+ declare module '@theme/Root' {
96
+ import type {ReactNode} from 'react';
97
+
98
+ export interface Props {
99
+ readonly children: ReactNode;
100
+ }
101
+ export default function Root({children}: Props): JSX.Element;
102
+ }
103
+
104
+ declare module '@docusaurus/constants' {
105
+ export const DEFAULT_PLUGIN_ID: 'default';
106
+ }
77
107
 
78
108
  declare module '@docusaurus/Head' {
79
109
  import type {HelmetProps} from 'react-helmet';