i18n: Fix Find

This commit is contained in:
thororen1234 2026-01-06 16:20:56 -05:00
parent 6d65eca469
commit 3693328448
No known key found for this signature in database

View file

@ -59,7 +59,7 @@ export const { match, P }: { match: typeof TSPattern["match"], P: typeof TSPatte
export const lodash: typeof import("lodash") = findByPropsLazy("debounce", "cloneDeep");
export const i18n = mapMangledModuleLazy('defaultLocale:"en-US"', {
export const i18n = mapMangledModuleLazy("getAvailableLocales:()", {
t: m => m?.[Symbol.toStringTag] === "IntlMessagesProxy",
intl: m => m != null && Object.getPrototypeOf(m)?.withFormatters != null
}, true);