Open
Description
Feature Description
Currently, *matCellDef
types the resulting variable as any
:
This issue is an attempt to bring #16273 back in discussion, which has been closed as Ivy wasn't yet available.
There has been some progress on several fronts:
- Ivy now has
strictTemplates
mode. - The experimental Ivy powered language server is almost ready to go.
It appears that the approach described in this comment angular/angular#28731 (comment) might allow this to be implemented.
Use Case
As we've been converting more code to use Material Data Tables, the lack of strong typing has been really problematic, and it feels like a downgrade in developer experience compared to regular tables with *ngFor
.
Further motivation for this has been described in: