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:
DemoMaterialModule
in material.module.ts exports the MatTableModule
where MatHederRowDef is defined.MatTableModule
show now error: e.g. MatHederCellDef works fineWhat am I missing?
This was a bug in IntelliJ and is fixed in Version 2020.1.2