Angular Modernizer
    Preparing search index...

    Interface KernelTransformContext

    Transformation context.

    interface KernelTransformContext {
        api?: unknown;
        config?: Record<string, unknown>;
        filePath?: string;
        project: Project;
        sourceFile: SourceFile;
        type?: string;
    }
    Index

    Properties

    api?: unknown

    Public API providing analyzers and transformation utilities.

    config?: Record<string, unknown>

    Rule-specific configuration options.

    filePath?: string

    Absolute path of the file being transformed.

    project: Project

    ts-morph Project instance for cross-file operations.

    sourceFile: SourceFile

    ts-morph SourceFile being transformed.

    type?: string

    Transformation type discriminator (matches the rule id).