Swyftey
Swyftey2w ago

Deno 2.0 displaying red-line errors in my typescript code, but they were non-breaking?

Hi! I'd like to use Deno for the integrated TypeScript and other useful features, but I had enough of the program (I think it was the vscode extension) showing some of my code as a deno-ts error when the project would run fine. It's been really weird because I'll try to fix the error, and whether I fix it or not, the red line ends up going away on its own eventually. It's been very iffy. Also, some types from my needed npm modules do not exist as they do in node.js, how can I solve that? How can I fix this so I can possibly go back to using deno?
1 Reply
krml
krml2w ago
Can you give us an example Repo or code snippet to reproduce this?