Skip to content

ProviderScope

@tsed/di

Usage

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

See /packages/di/src/types/common/domain/ProviderScope.ts.

Overview

ts
enum ProviderScope {
    SINGLETON = "singleton",
    REQUEST = "request",
    INSTANCE = "instance"
}

SINGLETON

ts
SINGLETON = "singleton",

REQUEST

ts
REQUEST = "request",

INSTANCE

ts
INSTANCE = "instance"

Released under the MIT License.