Skip to content

DecoratorTypes

@tsed/core

Usage

typescript
import { DecoratorTypes } from "@tsed/core";

See /packages/core/src/types/domain/DecoratorTypes.ts.

Overview

ts
enum DecoratorTypes {
    PARAM = "parameter",
    PARAM_CTOR = "parameter.constructor",
    PARAM_STC = "parameter.static",
    PROP = "property",
    PROP_STC = "property.static",
    METHOD = "method",
    METHOD_STC = "method.static",
    CLASS = "class"
}

PARAM

ts
PARAM = "parameter",

PARAM_STC

ts
PARAM_STC = "parameter.static",

PROP

ts
PROP = "property",

PROP_STC

ts
PROP_STC = "property.static",

METHOD

ts
METHOD = "method",

METHOD_STC

ts
METHOD_STC = "method.static",

CLASS

ts
CLASS = "class"

Released under the MIT License.