Skip to content

ProviderType

@tsed/di

Usage

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

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

Overview

ts
enum ProviderType {
    VALUE = "value",
    PROVIDER = "provider",
    MODULE = "module",
    CONTROLLER = "controller",
    INTERCEPTOR = "interceptor",
    MIDDLEWARE = "middleware"
}

VALUE

ts
VALUE = "value",

PROVIDER

ts
PROVIDER = "provider",

MODULE

ts
MODULE = "module",

CONTROLLER

ts
CONTROLLER = "controller",

INTERCEPTOR

ts
INTERCEPTOR = "interceptor",

MIDDLEWARE

ts
MIDDLEWARE = "middleware"

Released under the MIT License.