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
The current i18next TypeScript documentation mentions that TypeScript version 5 is recommended to be used. In practice, intellisense does not work at all in TypeScript version 4. So developers must use TypeScript version 5 if they use the code from the documentation.
To reproduce it, you can use this example and downgrade TypeScript to v4.
In my case, the problem was that I had not noticed the 'Intellisense not working' section in troubleshooting and was trying to use the examples from the documentation using v4.
Motivation
To provide accurate guidance and improve the developer experience, it is crucial to update the documentation and clearly state that intellisense support is only available starting from TypeScript version 5.
The documentation should highlight that all examples and solutions related to TypeScript and i18next are applicable and relevant only to TypeScript version 5 onwards.
This clarification will help developers avoid spending unnecessary time trying to set up Intellisense support for i18next with TypeScript version 4, and ensure that they are aware of the minimum TypeScript version requirement.
The text was updated successfully, but these errors were encountered:
The TypeScript checks works also with v4. Not all developers use a code editor with intellisense...
But yes, feel free to suggest a PR with changes to address this.
btw: @pedrodurek is there any way the intellisense could work again with v4?
The TypeScript checks works also with v4. Not all developers use a code editor with intellisense... But yes, feel free to suggest a PR with changes to address this. btw: @pedrodurek is there any way the intellisense could work again with v4?
Well, I don't know. I spent a few hours trying to figure out why everything works in your project while in ours it doesn't. And we also have npm workspaces, so I thought the problem might be related to them. Then, somehow, I thought about updating TypeScript and it helped. And, unfortunately, I didn't notice the recommendation about using v5 in the documentation 🤷
p.s. just to clarify: I do not mean VS Code IntelliSense, but rather autocomplete in general, such as in WebStorm
Documentation issue
The current i18next TypeScript documentation mentions that TypeScript version 5 is recommended to be used. In practice, intellisense does not work at all in TypeScript version 4. So developers must use TypeScript version 5 if they use the code from the documentation.
https://www.i18next.com/overview/typescript
To reproduce it, you can use this example and downgrade TypeScript to v4.
In my case, the problem was that I had not noticed the 'Intellisense not working' section in troubleshooting and was trying to use the examples from the documentation using v4.
Motivation
To provide accurate guidance and improve the developer experience, it is crucial to update the documentation and clearly state that intellisense support is only available starting from TypeScript version 5.
The documentation should highlight that all examples and solutions related to TypeScript and i18next are applicable and relevant only to TypeScript version 5 onwards.
This clarification will help developers avoid spending unnecessary time trying to set up Intellisense support for i18next with TypeScript version 4, and ensure that they are aware of the minimum TypeScript version requirement.
The text was updated successfully, but these errors were encountered: