Skip to content

localsContainer

@tsed/di

Usage

typescript
import { localsContainer } from "@tsed/di";

See /packages/di/src/types/common/fn/localsContainer.ts.

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;

Released under the MIT License.