MCPcopy
hub / github.com/lukeautry/tsoa / IocContainer

Interface IocContainer

packages/runtime/src/interfaces/iocModule.ts:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 | Function;
13
14export interface IocContainer {
15 get<T>(controller: ServiceIdentifier<T>): T;
16 get<T>(controller: ServiceIdentifier<T>): Promise<T>;
17}
18
19// eslint-disable-next-line @typescript-eslint/no-explicit-any
20export type IocContainerFactory<T = any> = (request: T) => IocContainer;

Implementers 2

TagControllertests/fixtures/controllers/tagControll
RenamedModelImportsControllertests/fixtures/controllers/controllerW

Calls

no outgoing calls

Tested by

no test coverage detected