AnyDecorator
@tsed/core
Usage
typescript
import { AnyDecorator } from "@tsed/core/src/types/AnyDecorator";Overview
ts
type AnyDecorator = any | ClassDecorator | MethodDecorator | PropertyDescriptor | ParameterDecorator;Description
Utility union representing any decorator type supported by TypeScript.
Used by Ts.ED to type APIs that accept class, method, property or parameter decorators. This type is handy when a helper must remain generic with regard to the decorated target.