@wocker/core
Version:
Core of the Wocker
10 lines (9 loc) • 404 B
TypeScript
import { Container } from "./Container";
import { Type } from "../types/Type";
export declare class ApplicationContext {
protected readonly module: any;
protected readonly container: Container;
constructor(module: any, container: Container);
get<TInput = any, TResult = TInput>(typeOrToken: Type<TInput> | Function | string | symbol): TResult;
run(args: string[]): Promise<string>;
}