@docusaurus/module-type-aliases 3.6.3-canary-6162 → 3.6.3-canary-6164
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 +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/module-type-aliases",
|
|
3
|
-
"version": "3.6.3-canary-
|
|
3
|
+
"version": "3.6.3-canary-6164",
|
|
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": "3.6.3-canary-
|
|
15
|
+
"@docusaurus/types": "3.6.3-canary-6164",
|
|
16
16
|
"@types/history": "^4.7.11",
|
|
17
17
|
"@types/react": "*",
|
|
18
18
|
"@types/react-router-config": "*",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"react-dom": "*"
|
|
26
26
|
},
|
|
27
27
|
"license": "MIT",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "49e0b1965ff23b2ed4a3cf15c64269177baea7bc"
|
|
29
29
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -369,6 +369,9 @@ declare module '@docusaurus/useGlobalData' {
|
|
|
369
369
|
export default function useGlobalData(): GlobalData;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
+
// TODO find a way to move this ambient type to the SVGR plugin?
|
|
373
|
+
// unfortunately looks complicated in practice
|
|
374
|
+
// see https://x.com/sebastienlorber/status/1859543512661832053
|
|
372
375
|
declare module '*.svg' {
|
|
373
376
|
import type {ComponentType, SVGProps} from 'react';
|
|
374
377
|
|