localsContainer
@tsed/di
Usage
typescript
import { localsContainer } from "@tsed/di";
Overview
ts
function localsContainer({ providers, rebuild }?: {
providers?: UseImportTokenProviderOpts[];
rebuild?: boolean;
}): LocalsContainer;
Description
Get the locals container initiated by DITest or .bootstrap() method.
providers
ts
providers?: UseImportTokenProviderOpts[];
rebuild
ts
rebuild?: boolean;