(props?: (...args: any[]) => any)
| 90 | } |
| 91 | |
| 92 | function makeMetadataCtor(props?: (...args: any[]) => any): any { |
| 93 | return function ctor(this: any, ...args: any[]) { |
| 94 | if (props) { |
| 95 | const values = props(...args); |
| 96 | for (const propName in values) { |
| 97 | this[propName] = values[propName]; |
| 98 | } |
| 99 | } |
| 100 | }; |
| 101 | } |
| 102 | |
| 103 | export function makeParamDecorator( |
| 104 | name: string, |
no outgoing calls
no test coverage detected
searching dependent graphs…