Files
klz-cables.com/.pnpm-store/v10/files/cf/3bf3c319089500a63fa9ac0e9e3071b202bb8fc9c1a8b7bb81d368cf1e279f13d3da6622301e937030f27229dff303964b41ea899eff40c021b49b4d8819b0
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

15 lines
652 B
Plaintext

import type IntlConfig from './IntlConfig.js';
/**
* Enhances the incoming props with defaults.
*/
export default function initializeConfig<Props extends IntlConfig>({ formats, getMessageFallback, messages, onError, ...rest }: Props): Omit<Props, "formats" | "messages" | "onError" | "getMessageFallback"> & {
formats: NonNullable<IntlConfig["formats"]> | undefined;
messages: NonNullable<IntlConfig["messages"]> | undefined;
onError: (error: import("./IntlError.js").default) => void;
getMessageFallback: (info: {
error: import("./IntlError.js").default;
key: string;
namespace?: string;
}) => string;
};