Skip to content

bazel: unable to enable ngtsc strict template type checking #33452

Closed
@devversion

Description

@devversion

🐞 bug report

Affected Package

@angular/bazel

Is this a regression?

No

Description

Type checking performed by ngtsc is currently matching as much as possible with what NGC did. Since ngtsc type checking can be more advanced, there are flags to enable more advanced checking of templates.

These flags cannot be set from within the ng_module Bazel rule unfortunately. The issue is that ngc-wrapped does not redirect the new strictness flags. It will be cumbersome to redirect all individual strictness flags, so we need to think about the ideal API for these type checking flags

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: bazelIssues related to the published `@angular/bazel` build rulesarea: compilerIssues related to `ngc`, Angular's template compilerfreq3: highhotlist: components teamRelated to Angular CDK or Angular Materialstate: confirmedtype: bug/fix

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions