0

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.

luimark01
  • 11
  • 3

1 Answers1

0

Turns out the error was caused by extending another component that didn't have angular decorations. Fixing this resolved the errors.

luimark01
  • 11
  • 3