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
i have updated to the newest version of react-i18next today. I have noticed that the repository now contains typings. So for example the following definition:
This definition removes those types supplied by the HOC and you can use following statement: withNamespaces("default")(component) without compiler errors. It would be great if those typings would be used for every HOC.
The text was updated successfully, but these errors were encountered:
PR coming. @jamuhl want to patch the changes right away or give it sometime to see if something else comes up in this initial phase and then release the possible changes all at once?
@schettino i added you as contributor with write access - feel free to merge in changes as needed - and ping me if there is a state we should publish again...
Hi,
i have updated to the newest version of react-i18next today. I have noticed that the repository now contains typings. So for example the following definition:
With this definition i need to say
withNamespaces("default")<Props>(component)
. Otherwise the compiler complains for missing Props like tReady.This definition removes those types supplied by the HOC and you can use following statement:
withNamespaces("default")(component)
without compiler errors. It would be great if those typings would be used for every HOC.The text was updated successfully, but these errors were encountered: