turbo lint env not typed
Hey people, i got an type error on local
turbo run build --filter api
and on vercel deployment of that app (using monorepo with 4 apps ).
turbo run lint --filter api
is working fine.
Here the error i get:
the env
variable is getting importet from env/client.mjs
(the normal t3-stack env validation). in my IDE i get the correct type on hovering env
doe.
I am guessing the Problem is that I'm importing from an .mjs
module.
Can anyone help me with this one?1 Reply
when i have a file open in the api app i also get the error in my IDE
problems
window, but when i click it to switch to the file the error goes away...
but not in all files where i use the env
object from the same import....