Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compiler-cli): improve the missingControlFlowDirective message #46846

Commits on Jul 18, 2022

  1. fix(compiler-cli): improve the missingControlFlowDirective message

    The extended diagnostics about missing control flow directive was only mentioning that the `CommonModule` should be imported.
    Now that the control flow directives are available as standalone, the message mentions that directive itself can be imported.
    
    The message now also mentions which import should be used for the directive (as it can be tricky to figure out that `NgForOf` is the directive corresponding to `*ngFor`).
    cexbrayat committed Jul 18, 2022
    Copy the full SHA
    3004e2a View commit details
    Browse the repository at this point in the history