In certain cases, when the function returns an incorrect type, VSCode underlines the entire function.
What usually happens is I’m in the process of typing the function code, so obviously it’s not completed yet, and the red underline makes it very annoying to look at the code.
Is there any setting to change this (I don’t want to disable error underlines as a whole)?