Angular compiles but should throw an error

Discussão em 'Angular' iniciado por colau, Agosto 5, 2025.

  1. colau

    colau Guest

    I'm using angular 16 and I need to configure my app that throws an error when, for example, I have on function in the html file but this function doesn't exists in the ts file.

    [​IMG]

    Any idea how can I do it? Currently only fails when you go to the specific page, but angular compiles in jit or aot mode.

    Thanks.

    Continue reading...

Compartilhe esta Página