UNPKG

@robotlegsjs/core

Version:

An architecture-based IoC framework for JavaScript/TypeScript

26 lines (25 loc) 511 B
import { IContext } from "../api/IContext"; /** * Installs custom extensions into a given context * * @private */ export declare class ExtensionInstaller { private _classes; private _context; private _logger; /** * @private */ constructor(context: IContext); /** * Installs the supplied extension * * @param extension An object or class implementing IExtension */ install(extension: any): void; /** * Destroy */ destroy(): void; }