Skip to content

Commit

Permalink
Fix reportNamespaces TS error
Browse files Browse the repository at this point in the history
According to i18next/react-i18next#1693
you can fix the Typescript error on `reportNamespaces` by changing
`module` and `moduleResolution` on TS config.

This raises new TS errors, but let's see where the path leaves us.
  • Loading branch information
fernandocanizo committed Nov 22, 2023
1 parent dddcc87 commit 838ffc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"moduleResolution": "Bundler",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"target": "ES2022",
"strict": true,
Expand Down

0 comments on commit 838ffc2

Please sign in to comment.