Visual Studio Code shows wrong typescript errors that disappear after file reopening

Viewed 283

Visual Studio Code shows strange typescript errors to me that are not real. It seems that VSC figures out that an syntax is wrong while I type (which can be true). But when I stop typing and the syntax is correct it still shows the wrong error, e.g.:

[enter image description here

If I close the file and open it again, the error does disappear. It happens to many different errors, not only this exact one.

Additionally if I do write a newline, the error seems to be "stuck" to line/column even though text has moved.

0 Answers
Related