Eslint complains about type parameter declaration #810
-
I upgraded my wagmi package which brought viem along with it and now when I try to build my project it fails due to eslint errors. Following is the response from my terminal -
What could be done to solve this? Are some changes needed on viem's end or a eslint configuration issue? |
Beta Was this translation helpful? Give feedback.
Answered by
fubhy
Jun 29, 2023
Replies: 2 comments 2 replies
-
@VampishWolf Make sure you are on TypeScript 5.x. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
tmm
-
What eslint version are you using? Support for const type modifiers was added in 5.5.50. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@VampishWolf Make sure you are on TypeScript 5.x.