- Issue created by @traviscarden
- 🇳🇱Netherlands balintbrews Amsterdam, NL
While the warning is harmless in our case, I agree that it may be confusing and distracting.
Let's not downgrade the TypeScript version. Instead, can we please see if we can update to a newer version of
typescript-eslint
? We could also setwarnOnUnsupportedTypeScriptVersion
tofalse
in our ESLint config, but let's try to avoid that. - 🇮🇳India shyam_bhatt Gujarat
@balintbrews The issue is already listed on the StackOverflow.
This is a known issue since (at the time of writing) typescript 5.1.3 is not supported. We can either downgrade your version of typescript to match the required version, or wait until support for typescript 5.1.3 is released by the eslint team
- 🇳🇱Netherlands balintbrews Amsterdam, NL
That question on StackOverflow is quite old, and it also shows that the Next.js team was not super concerned about the warning either. 😊
typescript-eslint
has support for the latest stable version of TypeScript, 5.6, since its v8.10.0. If we're changing version numbers to get rid of this warning, I would rather get us upgraded to newer versions than going backwards.@shyam_bhatt, are you up for giving this a try?
- 🇮🇳India shyam_bhatt Gujarat
yes @balintbrews, I will try once as per your latest comment.