Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript declarations #22

Open
indymaat opened this issue Jul 14, 2023 · 0 comments
Open

Typescript declarations #22

indymaat opened this issue Jul 14, 2023 · 0 comments

Comments

@indymaat
Copy link

indymaat commented Jul 14, 2023

npm i --save-dev @types/i18next-node-mongodb-backend-next
// yields
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2fi18next-node-mongodb-backend-next - Not found

I don't see any remarks about Typescript in the readme, nor does NPM state any TS declarations.

Am i missing something here? Otherwise it would be nice to have TS declarations for this package. Is that something to put on the roadmap?

Workaround
I created decs.d.ts with this content, and it is working fine:

declare module 'i18next-node-mongodb-backend-next';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant