- decorate<T>(clazz, decorators): void
Parameters
- clazz: (new (...args: any[]) => T)
- new (...args): T
Returns T
- decorators: {
[P in string | number | symbol]?:
| MethodDecorator
| PropertyDecorator
| MethodDecorator[]
| PropertyDecorator[]
}
Returns void
- decorate<T>(object, decorators): T
Parameters
- object: T
- decorators: {
[P in string | number | symbol]?:
| MethodDecorator
| PropertyDecorator
| MethodDecorator[]
| PropertyDecorator[]
}
Returns T