Issue
I have this issue where certain .ts files are lined with errors you’d expect to see in an HTML file, e.g. "Can’t bind to ‘ngClass’ since it isn’t a known property of ‘div’" appears over an import in my component example image
I’ve uninstalled and reinstalled vs code to no avail.
Solution
Turns out the error was caused by extending another component that didn’t have angular decorations. Fixing this resolved the errors.