i18next / i18next-http-backend

i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
MIT License
453 stars 70 forks source link

Parse return type is incorrect #75

Closed TrueWill closed 3 years ago

TrueWill commented 3 years ago

🐛 Bug Report

In https://github.com/i18next/i18next-http-backend/issues/33 it's suggested to return an object from parse in BackendOptions - this works (and solved my issue - thanks), but the TypeScript types are wrong - it says parse returns a string.

adrai commented 3 years ago

Would you like to send a Pull Request to address this?

TrueWill commented 3 years ago

Done: https://github.com/i18next/i18next-http-backend/pull/76