You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node_modules/i18next-http-backend/index.d.ts:122:5 - error TS2717: Subsequent property declarations must have the same type. Property 'backend' must be of type 'BackendOptions | undefined', but here has type 'BackendOptions | undefined'.
122 backend?: BackendOptions;
~~~~~~~
node_modules/i18next-chained-backend/index.d.ts:42:5
42 backend?: I18NextChainedBackend.BackendOptions;
~~~~~~~
'backend' was also declared here.
Expected behavior
No error
Possible temporary fix
Setting "skipLibCheck": true hide the issue
Your Environment
typescript: 4.3.5
i18next-chained-backend : 3.0.2
i18next-http-backend: 1.3.0
The text was updated successfully, but these errors were encountered:
It's by design, that's the only way to automatically infer PluginOptions which happens to have conflicts with other plugins. skipLibCheck: true is also recommended to reduce compilation time.
🐛 Bug Report
There is a conflict in the .d.ts files between i18next-chained-backend and i18next-http-backend
To Reproduce
i18n config
Current behavior
Expected behavior
No error
Possible temporary fix
Setting
"skipLibCheck": true
hide the issueYour Environment
The text was updated successfully, but these errors were encountered: