Angular Modernizer
    Preparing search index...

    Transform rule angular:promise-cleanup: removes residual Promise anti-patterns (orphaned .toPromise() calls, detectChanges() calls in non-async component methods).

    Runs only when the plugin config sets transformationType: 'promise-cleanup'; delegates to PromiseCleanupTransformOrchestrator.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    category: "refactoring" = 'refactoring'

    Rule category for grouping.

    description: "Removes residual Promise anti-patterns: orphaned .toPromise() calls and manual detectChanges() calls" = 'Removes residual Promise anti-patterns: orphaned .toPromise() calls and manual detectChanges() calls'

    Rule description explaining what it does.

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

    Unique rule identifier (scoped to plugin).

    name: "Promise Cleanup Transform" = 'Promise Cleanup Transform'

    Human-readable rule name.

    tags: string[] = ...

    Tags for filtering and search.

    Methods