Shimo
VSCode - TS - Node import issue
I removed the
export {}
The rest of the code in my global.d.ts
contains other module
and global
declaration.
My college manage to fixe the issues related to the kalimahapps
module by updating the nuxt.config.ts
TS config :
But some other issues appears with primevue
imports :
For now, our temporary solution will probably be putting the previouse and simpler tsConfig
and adding // @ts-expect-error
above the kalimahapps
imports.36 replies
VSCode - TS - Node import issue
Hey there, the fix you gave me yesterday seemed to be reliable for the VS Code issue I was having. Thank you.
But, I got some additional errors found when doing a code-check with
vue-tsc
that are supposed to be fixed when my global.d.ts
is correctly included in the tsConfig
. Can you help me?
Here is my typescript field in my nuxt,config.ts
:
I tryed using a relative path ./
and ../
.36 replies
VSCode - TS - Node import issue
I also just though of removing the
"include": ["global.d.ts"]
of the tsconfig.json
. It seems to work fine for now. I'll do some test / postinstalle / prepare to make sure it's not temporary like it has been previously.
Thanks 👍36 replies
VSCode - TS - Node import issue
@kapa.ai
Nevermind, the problem didn't resolved by itself, it just disappeared for a minute.
Going on with the proposed solution :
3. I went see the
.nuxt/types/imports.d.ts
file, the auoimports bugged aren't on this file.
4. I'm on nuxt version ^3.15.0.
5. How can I clear vscode cache ?36 replies