@i18n-micro/types 1.2.4 → 1.2.5
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/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -60,7 +60,8 @@ export interface Locale {
|
|
|
60
60
|
iso?: string;
|
|
61
61
|
/**
|
|
62
62
|
* Open Graph locale for `og:locale` / `og:locale:alternate` meta `content` (e.g. `ar_AE`).
|
|
63
|
-
*
|
|
63
|
+
* When omitted, `iso` is converted to OG format when possible (`en-US` → `en_US`).
|
|
64
|
+
* If conversion is not possible, `og:locale` tags are not emitted (dev warning when `missingWarn` is enabled).
|
|
64
65
|
*/
|
|
65
66
|
og?: string;
|
|
66
67
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -60,7 +60,8 @@ export interface Locale {
|
|
|
60
60
|
iso?: string;
|
|
61
61
|
/**
|
|
62
62
|
* Open Graph locale for `og:locale` / `og:locale:alternate` meta `content` (e.g. `ar_AE`).
|
|
63
|
-
*
|
|
63
|
+
* When omitted, `iso` is converted to OG format when possible (`en-US` → `en_US`).
|
|
64
|
+
* If conversion is not possible, `og:locale` tags are not emitted (dev warning when `missingWarn` is enabled).
|
|
64
65
|
*/
|
|
65
66
|
og?: string;
|
|
66
67
|
/**
|