Angular Modernizer
    Preparing search index...

    Removes residual Promise anti-patterns left after the service and component transforms:

    1. Orphaned .toPromise() calls are replaced by their receiver.
    2. Statements calling detectChanges() are removed from non-async methods of @Component classes.

    Restores the original source text when a step throws.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    ruleId: "angular:promise-cleanup" = 'angular:promise-cleanup'

    Rule ID reported in every TransformResult.

    Methods