Martijn Visser created FLINK-41517:
--------------------------------------
Summary: Enable strictTemplates for the web dashboard
Key: FLINK-41517
URL: https://issues.apache.org/jira/browse/FLINK-41517
Project: Flink
Issue Type: Technical Debt
Components: Runtime / Web Frontend
Reporter: Martijn Visser
Fix For: 2.5.0
As a follow-up of FLINK-41079, we should enable strictTemplates in the web
dashboard's tsconfig.json. It is disabled today, so the compiler only checks
part of the template bindings. That is how FLINK-41308 slipped through, and
also why nothing reported that the rescale buttons in
job-overview-list.component.html still use nz-button-group, which is no longer
a known element since the Angular 20 upgrade in FLINK-38044.
Turning it on currently fails the build, mostly on possibly undefined numbers
passed to pipes and on untyped index access in the templates. These need to be
fixed first, which can be split per page to keep the reviews small.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)