sanitizeI18nState
sanitizeI18nState(
raw):I18nState|null
Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/localization/persist.d.ts:25
Shape-sanitize an untrusted persisted value. This is the sync gate at bootstrap - garbage must never reach an
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”I18nState | null
In Context
Section titled “In Context”enum, where it would fail every query on the page. Authoritative validation against availableCountries happens later, when localization data loads.