IntelliJ Idea 2020.1 shows this error for matHeaderRowDef in a template:
Property matHeaderRowDef is not provided by any applicable directive on an embedded template
GitHub example to reproduce the issue
I don't understand why this error is shown:
- The
DemoMaterialModulein material.module.ts exports theMatTableModulewhere MatHederRowDef is defined. - Other structural directives from
MatTableModuleshow now error: e.g. MatHederCellDef works fine - note: the application works fine when you start it - so maybe it's just an issue in the IDE
What am I missing?
