Angular Modernizer
    Preparing search index...

    Transform rule angular:interface-duplication-transform: consolidates groups of 3 or more interfaces that share a name suffix and common properties into a base interface plus branded type aliases (unique symbols), and updates imports, type annotations, generics and re-exports across the project.

    Runs only when the plugin config sets transformationType: 'interface-duplication'; skips .d.ts files and delegates to InterfaceDuplicationTransformOrchestrator. Reports modified when any file of the project changed.

    const rule = new InterfaceDuplicationTransformRule();
    const result = await rule.transform(context);
    if (result.modified) console.info('Interfaces consolidated');

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    category: "modernization" = 'modernization'

    Rule category for grouping.

    description: "Consolidates duplicate interface families into a base interface + branded type aliases" = 'Consolidates duplicate interface families into a base interface + branded type aliases'

    Rule description explaining what it does.

    id: "angular:interface-duplication-transform" = 'angular:interface-duplication-transform'

    Unique rule identifier (scoped to plugin).

    name: "Interface Duplication Transform" = 'Interface Duplication Transform'

    Human-readable rule name.

    tags: string[] = ...

    Tags for filtering and search.

    Methods