@carlosv2/glue
Version:
Dependency injection library that stays out of the way
14 lines • 633 B
TypeScript
import type { Buildable } from '../buildable.js';
import type { DefinitionContext, RunningContext } from '../context/index.js';
import type { Maybe } from '../utils.js';
import { Service, type Tag } from '../service.js';
export declare class Constructor extends Service {
private readonly symbol;
private readonly args;
constructor(symbol: Buildable, args: Buildable[], context: DefinitionContext, scope: Maybe<string>, tags: Tag[], calls: {
method: Buildable;
params: Buildable[];
}[]);
protected instantiate(context: RunningContext): Promise<unknown>;
}
//# sourceMappingURL=constructor.d.ts.map