Angular Modernizer
    Preparing search index...

    Interface I18nUsageOptions

    Options for collectI18nUsages.

    interface I18nUsageOptions {
        componentDecorators?: readonly string[];
        i18nNames?: readonly string[];
        templates?: readonly ComponentTemplateSource[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    componentDecorators?: readonly string[]

    Project decorators whose metadata can carry template / templateUrl, in addition to Component (parser.componentDecorators in .angular-modernizer.json).

    []
    
    i18nNames?: readonly string[]

    Pipe and attribute-directive names that take a translation key.

    ['translate', 'transloco']
    
    templates?: readonly ComponentTemplateSource[]

    Templates to scan, when the caller has loaded them already. Default: all component templates.