T3 App ESLint Errors
I just created my first t3 app and am getting a ton of
Unsafe assignment of an 'any' value linting
errors while importing 3rd party libs and using that in my app. All types are imported from the lib so Im not sure why this would be happening. Any idea? Ill include an example of a block of code that is giving this error:
Errors
- Unsafe assignment of an any
value.
- Unsafe call of an any
typed value.8 Replies
Is the error in the process.env line?
Create T3 App
Environment Variables 🚀 Create T3 App
The best way to start a full-stack, typesafe Next.js app.
No, its the whole block
Here's what I see
You’re passing something that’s typed as any somewhere in that block
They should all have types, I use this is another typescript project and dont have errors. They seem to have gone away, so Im not sure if it was just a vscode issue or something weird is going on with my linter
Oh yea can also just be ts or eslint served
Make sure your tsconfig is ignoring your node_modules