UNPKG

inversify

Version:

A powerful and lightweight inversion of control container for JavaScript and Node.js apps powered by TypeScript.

11 lines (10 loc) 938 B
import { interfaces } from '../interfaces/interfaces'; declare function getServiceIdentifierAsString(serviceIdentifier: interfaces.ServiceIdentifier): string; declare function listRegisteredBindingsForServiceIdentifier(container: interfaces.Container, serviceIdentifier: string, getBindings: <T>(container: interfaces.Container, serviceIdentifier: interfaces.ServiceIdentifier<T>) => interfaces.Binding<T>[]): string; declare function circularDependencyToException(request: interfaces.Request): void; declare function listMetadataForTarget(serviceIdentifierString: string, target: interfaces.Target): string; declare function getFunctionName(func: { name: string | null; }): string; declare function getSymbolDescription(symbol: Symbol): string; export { getFunctionName, getServiceIdentifierAsString, listRegisteredBindingsForServiceIdentifier, listMetadataForTarget, circularDependencyToException, getSymbolDescription };