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

feat(compiler-cli): add extended diagnostic for non-nullable optional… #46686

Closed
wants to merge 1 commit into from

Commits on Jul 11, 2022

  1. feat(compiler-cli): add extended diagnostic for non-nullable optional…

    … chains
    
    This commit adds an extended diagnostics check that is similar to the nullish
    coalescing check, but targeting optional chains. If the receiver expression
    of the optional chain is non-nullable, then the extended diagnostic can report
    an error or warning that can be fixed by changing the optional chain into a
    regular access.
    
    Closes angular#44870
    JoostK committed Jul 11, 2022
    Copy the full SHA
    e876382 View commit details
    Browse the repository at this point in the history