tsconfig.json
{
"compilerOptions": {
"module": "ES6",
"target": "ES5",
"lib": ["ES6", "DOM"],
"jsx": "react",
"moduleResolution": "Bundler",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noEmit": true,
"baseUrl": ".",
"paths": {
"i18next": ["./index.d.mts"]
},
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
/**
* setting this to `false` to throw an error when d.ts file have invalid code
* @see https://github.com/i18next/i18next/issues/2168
*/
"skipLibCheck": false
}
}