Files
klz-cables.com/.pnpm-store/v10/files/17/bd4305c513fbc2743885fc963587bfd8c0736fa3fa97aa87291c1e5d8805f7e4ee97d3f9e3598a1beaa108544f6449a4324d2c489d568fee375b3af9637980
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

18 lines
798 B
Plaintext

import type { SanitizedLocalizationConfig } from '../config/types.js';
import type { TypedFallbackLocale } from '../index.js';
interface Args {
fallbackLocale: TypedFallbackLocale;
locale: string;
localization: SanitizedLocalizationConfig;
}
/**
* Sanitizes fallbackLocale based on a provided fallbackLocale, locale and localization config
*
* Handles the following scenarios:
* - determines if a fallback locale should be used
* - determines if a locale specific fallback should be used in place of the default locale
* - sets the fallbackLocale to 'null' if no fallback locale should be used
*/
export declare const sanitizeFallbackLocale: ({ fallbackLocale, locale, localization, }: Args) => TypedFallbackLocale;
export {};
//# sourceMappingURL=sanitizeFallbackLocale.d.ts.map