InjectablePropertyType
@tsed/di
Usage
typescript
import { InjectablePropertyType } from "@tsed/di";See /packages/di/src/common/domain/InjectablePropertyType.ts.
Overview
ts
enum InjectablePropertyType {
METHOD = "method",
PROPERTY = "property",
CONSTANT = "constant",
VALUE = "value",
INTERCEPTOR = "interceptor"
}Description
Enumeration defining types of injectable properties and decorators.
Used internally to track and classify different kinds of injected dependencies and decorated members within a class.
Types
METHOD: Injectable method parameterPROPERTY: Injectable class propertyCONSTANT: Injected constant valueVALUE: Injected configured valueINTERCEPTOR: Interceptor applied to a method
METHOD
ts
METHOD = "method",PROPERTY
ts
PROPERTY = "property",CONSTANT
ts
CONSTANT = "constant",VALUE
ts
VALUE = "value",INTERCEPTOR
ts
INTERCEPTOR = "interceptor"