Angular Modernizer
    Preparing search index...

    Minimal Kernel interface to avoid circular dependency. The actual Kernel implementation is in @angular-modernizer/core.

    Exposes a single accessor method for the project root, derived from tsConfigPath (if set) via path.dirname, or process.cwd() as a fallback. Safe to call during plugin.initialize() before Kernel.initialize() completes.

    interface IKernel {
        __brand?: "Kernel";
        getProjectRoot(): string;
    }
    Index

    Properties

    Methods

    Properties

    __brand?: "Kernel"

    Optional type marker; the kernel does not set it.

    Methods

    • Returns the project root: the directory of tsConfigPath when set, otherwise process.cwd().

      Returns string