UNPKG

@inversifyjs/core

Version:

InversifyJs core package

13 lines 830 B
import { Binding } from '../../binding/models/Binding'; import { PlanServiceNodeBindingRemovedResult } from '../../metadata/models/PlanServiceNodeBindingRemovedResult'; import { PlanParams } from '../models/PlanParams'; import { PlanServiceNode } from '../models/PlanServiceNode'; /** * Detach a binding to the root service node if it 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 removeRootServiceNodeBindingIfContextFree(params: PlanParams, serviceNode: PlanServiceNode, binding: Binding<unknown>): PlanServiceNodeBindingRemovedResult; //# sourceMappingURL=removeRootServiceNodeBindingIfContextFree.d.ts.map