Angular Modernizer
    Preparing search index...

    metadata of a StaticClassAnalysisRule result.

    interface StaticClassMetadata {
        className: string;
        classType: "helper" | "constants" | "mixed";
        estimatedImpact: "medium" | "low" | "high";
        staticMethodCount: number;
        staticPropertyCount: number;
        transformable: true;
        violationType: "static-class-detection";
    }
    Index

    Properties

    className: string

    Class name, (anonymous) for unnamed classes.

    classType: "helper" | "constants" | "mixed"

    helper: only methods, constants: only properties, mixed: both.

    estimatedImpact: "medium" | "low" | "high"

    By member count: up to 3 low, up to 7 medium, more high.

    staticMethodCount: number

    Number of static methods.

    staticPropertyCount: number

    Number of static readonly properties.

    transformable: true

    Always true: StaticClassTransformRule can transform the class.

    violationType: "static-class-detection"

    Fixed discriminator of this violation.