Docs about getInitialNamespaces and RemixI18Next #178
Closed
miradontsoa
started this conversation in
General
Replies: 1 comment 1 reply
-
Ensure you have moduleResolution: “bundler” in your tsconfig.json, new Remix app come with all but old one doesn’t You may need to upgrade to TS v5 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I think, there is TypeScript issue with in the current version v6, the TypeScript import of
RemixI18Next
andgetInitialNamespaces
areimport { RemixI18Next } from "remix-i18next/build/server";
and
import { getInitialNamespaces } from "remix-i18next/build/client";
not
import { RemixI18Next } from "remix-i18next/server";
andimport { getInitialNamespaces } from "remix-i18next/client";
as mentionned in the doc but when building the project,"remix-i18next/server";
and"remix-i18next/client";
are the right one.Beta Was this translation helpful? Give feedback.
All reactions