PokéRogue
    Preparing search index...

    Per-package namespace types for monorepos. Augment this in each package's i18next.d.ts instead of CustomTypeOptions.resources when several packages need their own namespaces — otherwise TypeScript reports TS2717 on merge.

    Works alongside the legacy CustomTypeOptions.resources field; both end up in TypeOptions['resources'].

    Scalar type options like defaultNS, returnNull, enableSelector, etc., still belong on CustomTypeOptions — this interface is for namespace resource types only.

    // packages/ui/i18next.d.ts
    declare module 'i18next' {
    interface ResourceNamespaceMap {
    '@repo/ui': typeof uiTranslations;
    }
    }