@docusaurus/types 3.8.1-canary-6362 → 3.8.1-canary-6364

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 +2 -2
  2. package/src/i18n.d.ts +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/types",
3
- "version": "3.8.1-canary-6362",
3
+ "version": "3.8.1-canary-6364",
4
4
  "description": "Common types for Docusaurus packages.",
5
5
  "types": "./src/index.d.ts",
6
6
  "publishConfig": {
@@ -28,5 +28,5 @@
28
28
  "react": "^18.0.0 || ^19.0.0",
29
29
  "react-dom": "^18.0.0 || ^19.0.0"
30
30
  },
31
- "gitHead": "fb5e2407590e2ec2155298195df6ca0db1026801"
31
+ "gitHead": "eb21e3eaf84009a29feff55780bb5d3a76658d01"
32
32
  }
package/src/i18n.d.ts CHANGED
@@ -32,6 +32,11 @@ export type I18nLocaleConfig = {
32
32
  * name.
33
33
  */
34
34
  path: string;
35
+ /**
36
+ * Should we attempt to translate this locale?
37
+ * By default, it will only be run if the `./i18n/<locale>` exists.
38
+ */
39
+ translate: boolean;
35
40
  };
36
41
 
37
42
  export type I18nConfig = {