Unsafe ESLint errors
ahoyahoy opened this issue · 2 comments
ahoyahoy commented
Bug summary
I am getting eslint errors
const Router = createRouter({
Home: '/',
About: '/about',
UserList: '/users',
UserDetail: '/users/:userId',
})
// Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
// Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
Library version
latest
Environment info
nextjs page
Steps to reproduce
- …
- …
Reproducible sample code
...
zoontek commented
@ahoyahoy You don't provide a lot of informations here, but I guess you just need to restart the eslint
server (Cmd + Shift + P in VScode):
We use @typescript-eslint/parser
+ @typescript-eslint/eslint-plugin
on our projects too and it gets it.
ahoyahoy commented
I'm sorry! Everything works perfectly now.