Having markup like
<mat-cell *matCellDef="let request">
<a [href]="request.url" target="_blank">{{request.requestId}}</a>
</mat-cell>
Can I typehint IDE somehow that request is of type Request
? I am using IntelliJ here.
Please be noted, that I am using Angular Material table here, so declaring request
in component is not an option here as it is purely template variable. It contains row data provided internally by component itself on every row iteration.
Note that this is perfectly valid markup used in MatDataTable component.