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
hapiPlugin is exported in index.js file but does not have its type exported in index.d.ts file, so it'll throw an error when using it in typescript.
To Reproduce
Create a typescript file, import the middleware and try to use hapiPlugin
importI18nextMiddlewarefrom'i18next-http-middleware';constplugin=I18nextMiddleware.hapiPlugin;// <-- this is an error as there is no hapiPlugin property exported in types files.
Your Environment
runtime version: node v18.12.1
i18next version: 23.7.18
os: Mac
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
🐛 Bug Report
hapiPlugin is exported in index.js file but does not have its type exported in index.d.ts file, so it'll throw an error when using it in typescript.
To Reproduce
Create a typescript file, import the middleware and try to use hapiPlugin
Your Environment
The text was updated successfully, but these errors were encountered: