vue-i18next
vue-i18next copied to clipboard
Typescript issues
I'm trying to use 0.15.0 with the latest version of i18next (14.1.1) but I'm having some troubles. It seems like TranslationFunction was renamed to TFunction in one of the latest releases and this is causing problems.
https://github.com/i18next/i18next/pull/1180
What version of i18next is properly supported by this lib? Thanks.
same here.. @k-schneider in case you need to get it working with an older version, i had success with v13.0.0 (perhaps an intermediary version works as well, only tried majors)
Any progress on this?
This needs fixing.... I got these errors :
Namespace 'i18next' has no exported member 'TranslationFunction'
Namespace 'i18next' has no exported member 'TranslationOptions'
@dnasir I believe you fixed this ? And nobody merged ?
Seems it’s WIP in feature/next branch.
@claudiocro Could you maybe publish an alpha version of feature/next, so we typescript users have an easier time integrating vue-i18next
. You might even get some useful feedback for the new version out of it ;-)
For anybody looking for a solution. You can actually locally patch dependencies with npm. So simply apply the fix from PR #63 yourself.
Any updates on this? 😄
Would be nice to have this fixed. Thanks to MrSimonEmms for a PR :)