@docusaurus/module-type-aliases 3.7.0 → 3.8.0
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 +4 -4
- package/src/index.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/module-type-aliases",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Docusaurus module type aliases.",
|
|
5
5
|
"types": "./src/index.d.ts",
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,12 +12,12 @@
|
|
|
12
12
|
"directory": "packages/docusaurus-module-type-aliases"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@docusaurus/types": "3.
|
|
15
|
+
"@docusaurus/types": "3.8.0",
|
|
16
16
|
"@types/history": "^4.7.11",
|
|
17
17
|
"@types/react": "*",
|
|
18
18
|
"@types/react-router-config": "*",
|
|
19
19
|
"@types/react-router-dom": "*",
|
|
20
|
-
"react-helmet-async": "npm:@slorber/react-helmet-async
|
|
20
|
+
"react-helmet-async": "npm:@slorber/react-helmet-async@1.3.0",
|
|
21
21
|
"react-loadable": "npm:@docusaurus/react-loadable@6.0.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"react-dom": "*"
|
|
26
26
|
},
|
|
27
27
|
"license": "MIT",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "948d63c42fad0ba24b7b531a9deb6167e64dc845"
|
|
29
29
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -122,6 +122,15 @@ declare module '@theme/Root' {
|
|
|
122
122
|
export default function Root({children}: Props): ReactNode;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
declare module '@theme/ThemeProvider' {
|
|
126
|
+
import type {ReactNode} from 'react';
|
|
127
|
+
|
|
128
|
+
export interface Props {
|
|
129
|
+
readonly children: ReactNode;
|
|
130
|
+
}
|
|
131
|
+
export default function ThemeProvider({children}: Props): ReactNode;
|
|
132
|
+
}
|
|
133
|
+
|
|
125
134
|
declare module '@theme/SiteMetadata' {
|
|
126
135
|
import type {ReactNode} from 'react';
|
|
127
136
|
|