@docusaurus/module-type-aliases 3.6.1 → 3.6.2
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 +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/module-type-aliases",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.2",
|
|
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.
|
|
15
|
+
"@docusaurus/types": "3.6.2",
|
|
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": "77f402d1f167dbb7468465078b1ed7750e65cc5d"
|
|
29
29
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -389,6 +389,22 @@ declare module '*.css' {
|
|
|
389
389
|
export default src;
|
|
390
390
|
}
|
|
391
391
|
|
|
392
|
+
declare module '*.md' {
|
|
393
|
+
import type {ComponentType} from 'react';
|
|
394
|
+
|
|
395
|
+
const ReactComponent: ComponentType<unknown>;
|
|
396
|
+
|
|
397
|
+
export default ReactComponent;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare module '*.mdx' {
|
|
401
|
+
import type {ComponentType} from 'react';
|
|
402
|
+
|
|
403
|
+
const ReactComponent: ComponentType<unknown>;
|
|
404
|
+
|
|
405
|
+
export default ReactComponent;
|
|
406
|
+
}
|
|
407
|
+
|
|
392
408
|
interface Window {
|
|
393
409
|
docusaurus: {
|
|
394
410
|
prefetch: (url: string) => false | Promise<void[]>;
|