In Angular Standalone Components check imports array for unused imports

Discussão em 'Angular' iniciado por Florian Uhlmann, Janeiro 29, 2025.

  1. Is there a compiler/ linter option to check missing/unused imports in an Angular standalone component?

    I was wondering recently why my component is not working, besides the compilation was "all right". Reason: I forgot to import the NgFor in the imports array.

    [​IMG]

    Continue reading...

Compartilhe esta Página