@docusaurus/module-type-aliases 0.0.0-4435 → 0.0.0-4436
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 +4 -4
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-4436",
|
|
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": "0.0.0-
|
|
15
|
+
"@docusaurus/types": "0.0.0-4436",
|
|
16
16
|
"@types/react": "*",
|
|
17
17
|
"@types/react-helmet": "*",
|
|
18
18
|
"@types/react-router-config": "*",
|
|
19
19
|
"@types/react-router-dom": "*"
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "3b2e15935a716c69bd530fe10942e1620b36ddc4"
|
|
23
23
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -162,10 +162,10 @@ declare module '@docusaurus/Link' {
|
|
|
162
162
|
declare module '@docusaurus/Interpolate' {
|
|
163
163
|
import type {ReactNode} from 'react';
|
|
164
164
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
export type ExtractInterpolatePlaceholders<Str extends string> =
|
|
166
|
+
Str extends `${string}{${infer Key}}${infer Rest}`
|
|
167
|
+
? Key | ExtractInterpolatePlaceholders<Rest>
|
|
168
|
+
: never;
|
|
169
169
|
|
|
170
170
|
export type InterpolateValues<
|
|
171
171
|
Str extends string,
|