Angular Modernizer
    Preparing search index...

    Interface ExternalDecoratorsConfig

    External decorator configuration.

    interface ExternalDecoratorsConfig {
        autoDetect?: boolean;
        cacheResults?: boolean;
        explicitDecorators?: string[];
        frameworkDecorators?: string[];
        preserveDuringTransformation?: boolean;
        treatUnknownAs?: UnknownDecoratorHandling;
    }
    Index

    Properties

    autoDetect?: boolean

    Auto-detect external decorators by scanning project files.

    true
    
    cacheResults?: boolean

    Cache auto-detection results for performance.

    true
    
    explicitDecorators?: string[]

    Explicit external decorators (overrides auto-detection).

    []
    
    frameworkDecorators?: string[]

    Additional framework decorators to blacklist. Extends default Angular/NestJS/TypeORM list of 75+ decorators.

    []
    
    preserveDuringTransformation?: boolean

    Preserve external decorators during transformations.

    true
    
    treatUnknownAs?: UnknownDecoratorHandling

    How to handle unknown decorators.

    'external'