Angular Modernizer
    Preparing search index...

    Interface I18nInspectOptions

    Options for I18nInspector.

    interface I18nInspectOptions {
        componentDecorators?: readonly string[];
        i18nNames?: readonly string[];
        key?: string;
        prefix?: string;
        rootDir?: 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']
    
    key?: string

    Report this key only.

    prefix?: string

    Report the keys starting with this text (ERRORS.).

    rootDir?: string

    Project root, for loader paths and the assets/i18n convention.

    templates?: readonly ComponentTemplateSource[]

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