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(ivy): avoid implicit any errors in event handlers #33550

Closed
wants to merge 1 commit into from

Commits on Nov 2, 2019

  1. fix(ivy): avoid implicit any errors in event handlers

    When template type checking is configured with `strictDomEventTypes` or
    `strictOutputEventTypes` disabled, in compilation units that have
    `noImplicitAny` enabled but `strictNullChecks` disabled, a template type
    checking error could be produced for certain event handlers.
    
    The error is avoided by letting an event handler in the generated TCB
    always have an explicit `any` return type.
    
    Fixes angular#33528
    JoostK committed Nov 2, 2019
    Copy the full SHA
    ac4c935 View commit details
    Browse the repository at this point in the history