@i18n-micro/types 1.2.14 → 1.2.15

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 CHANGED
@@ -377,6 +377,13 @@ export interface ModuleOptions {
377
377
  * @default ['page', 'sort', 'filter', 'search', 'q', 'query', 'tag']
378
378
  */
379
379
  canonicalQueryWhitelist?: string[];
380
+ /**
381
+ * Trailing slash for `$localePath` / `$switchLocalePath` (NuxtLink parity).
382
+ * Defaults to `experimental.defaults.nuxtLink.trailingSlash` when unset.
383
+ * Set explicitly to override Nuxt's link default for i18n path helpers.
384
+ * @default undefined (inherit from Nuxt)
385
+ */
386
+ trailingSlash?: 'append' | 'remove';
380
387
  /**
381
388
  * URL patterns (strings or RegExp) to exclude from i18n processing entirely.
382
389
  * Matching routes won't get locale prefixes, redirects, or translation loading.
package/dist/index.d.ts CHANGED
@@ -377,6 +377,13 @@ export interface ModuleOptions {
377
377
  * @default ['page', 'sort', 'filter', 'search', 'q', 'query', 'tag']
378
378
  */
379
379
  canonicalQueryWhitelist?: string[];
380
+ /**
381
+ * Trailing slash for `$localePath` / `$switchLocalePath` (NuxtLink parity).
382
+ * Defaults to `experimental.defaults.nuxtLink.trailingSlash` when unset.
383
+ * Set explicitly to override Nuxt's link default for i18n path helpers.
384
+ * @default undefined (inherit from Nuxt)
385
+ */
386
+ trailingSlash?: 'append' | 'remove';
380
387
  /**
381
388
  * URL patterns (strings or RegExp) to exclude from i18n processing entirely.
382
389
  * Matching routes won't get locale prefixes, redirects, or translation loading.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i18n-micro/types",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "description": "TypeScript definitions for the Nuxt I18n Micro ecosystem.",
5
5
  "keywords": [
6
6
  "i18n",