decorateMethodsOf
@tsed/core
Usage
typescript
import { decorateMethodsOf } from "@tsed/core";Overview
ts
function decorateMethodsOf(klass: any, decorator: any): void;Description
Applies a decorator to all methods of a class, copying inherited methods if necessary.
For each method, if inherited from a parent class, it first copies the method to the target class and merges its Store metadata, then applies the decorator.