@docusaurus/module-type-aliases 0.0.0-4519 → 0.0.0-4525

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/module-type-aliases",
3
- "version": "0.0.0-4519",
3
+ "version": "0.0.0-4525",
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-4519",
15
+ "@docusaurus/types": "0.0.0-4525",
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": "494bea503206a4e46075b60e0010298c8504c61a"
22
+ "gitHead": "c1122ee21d114f85261bed9b8296ab3501454098"
23
23
  }
package/src/index.d.ts CHANGED
@@ -179,13 +179,13 @@ declare module '@docusaurus/Interpolate' {
179
179
  Value extends ReactNode,
180
180
  > = Record<ExtractInterpolatePlaceholders<Str>, Value>;
181
181
 
182
- // TS function overload: if all the values are plain strings, then interpolate returns a simple string
182
+ // If all the values are plain strings, interpolate returns a simple string
183
183
  export function interpolate<Str extends string>(
184
184
  text: Str,
185
185
  values?: InterpolateValues<Str, string | number>,
186
186
  ): string;
187
187
 
188
- // If values contain any ReactNode, then the return is a ReactNode
188
+ // If values contain any ReactNode, the return is a ReactNode
189
189
  export function interpolate<Str extends string, Value extends ReactNode>(
190
190
  text: Str,
191
191
  values?: InterpolateValues<Str, Value>,