@docusaurus/module-type-aliases 0.0.0-4841 → 0.0.0-4844
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 +3 -3
- package/src/index.d.ts +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/module-type-aliases",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4844",
|
|
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-
|
|
15
|
+
"@docusaurus/types": "0.0.0-4844",
|
|
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": "
|
|
26
|
+
"gitHead": "e0f8d5729166419088bbfd857d12d063c7a53a1e"
|
|
27
27
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -315,16 +315,18 @@ declare module '@docusaurus/renderRoutes' {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
declare module '@docusaurus/useGlobalData' {
|
|
318
|
-
import type {GlobalData} from '@docusaurus/types';
|
|
318
|
+
import type {GlobalData, UseDataOptions} from '@docusaurus/types';
|
|
319
319
|
|
|
320
320
|
export function useAllPluginInstancesData(
|
|
321
321
|
pluginName: string,
|
|
322
|
-
|
|
322
|
+
options?: UseDataOptions,
|
|
323
|
+
): GlobalData[string] | undefined;
|
|
323
324
|
|
|
324
325
|
export function usePluginData(
|
|
325
326
|
pluginName: string,
|
|
326
327
|
pluginId?: string,
|
|
327
|
-
|
|
328
|
+
options?: UseDataOptions,
|
|
329
|
+
): GlobalData[string][string] | undefined;
|
|
328
330
|
|
|
329
331
|
export default function useGlobalData(): GlobalData;
|
|
330
332
|
}
|