A
A
Araya2020-05-31 10:56:12
Angular
Araya, 2020-05-31 10:56:12

Doesn't see the matHeaderRowDef directive?

There are two lines of code that I wrote according to the guide - https://material.angular.io/components/table/overview

<tr mat-header-row *matHeaderRowDef="displayedColumns;"></tr>
<tr mat-row *matRowDef="let row; columns : displayedColumns"></tr>

But the following warning pops up -
5ed36566ef9b4936305633.png

the array is declared, the modules are all added -
imports: [
    BrowserModule,
    MatTableModule,
    MatSortModule,
    MatPaginatorModule,
    BrowserAnimationsModule
  ],


What could be the reason for this warning?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Araya, 2020-05-31
@Araya

Bug in all Jetbrains products, reinstall node_modules folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question