UNPKG

@inversifyjs/core

Version:

InversifyJs core package

13 lines 827 B
import { Binding } from '../../binding/models/Binding'; import { PlanServiceNodeBindingAddedResult } from '../../metadata/models/PlanServiceNodeBindingAddedResult'; import { PlanParams } from '../models/PlanParams'; import { PlanServiceNode } from '../models/PlanServiceNode'; /** * Attach a binding to the root service node if the binding is context-free. * @param params The plan parameters. * @param serviceNode The service node to attach the binding to. * @param binding The binding to attach. * @returns True if the binding requires ancestor metadata, false otherwise. */ export declare function addRootServiceNodeBindingIfContextFree(params: PlanParams, serviceNode: PlanServiceNode, binding: Binding<unknown>): PlanServiceNodeBindingAddedResult; //# sourceMappingURL=addRootServiceNodeBindingIfContextFree.d.ts.map