{"version":3,"file":"singleton-operations.mjs","names":[],"sources":["../../src/i18n-cache/singleton-operations.ts"],"sourcesContent":["import { getI18nCache, setI18nCache } from 'gt-i18n/internal';\nimport type { I18nCache } from 'gt-i18n/internal';\nimport type { Translation } from 'gt-i18n/types';\nimport type { ReactI18nCache } from './ReactI18nCache';\n\n// ===== I18n Cache ===== //\n\nexport function getReactI18nCache(): ReactI18nCache {\n  return getI18nCache() as ReactI18nCache;\n}\n\nexport function setReactI18nCache(i18nCache: ReactI18nCache): void {\n  setI18nCache(i18nCache as I18nCache<Translation>);\n}\n"],"mappings":"kEAOA,SAAgB,GAAoC,CAClD,OAAO,GAAc,CAGvB,SAAgB,EAAkB,EAAiC,CACjE,EAAa,EAAoC"}