Class PojoConstructorDecorators
Hierarchy
- PojoConstructorDecorators
Methods
Static
props
- props<T, D>(decorate: ((target: T, key: Extract<keyof T, string>) => ((...args: any[]) => any))): ((obj: T) => D)
-
Parameters
-
decorate: ((target: T, key: Extract<keyof T, string>) => ((...args: any[]) => any))
-
- (target: T, key: Extract<keyof T, string>): ((...args: any[]) => any)
-
Parameters
-
target: T
-
key: Extract<keyof T, string>
Returns ((...args: any[]) => any)
-
- (...args: any[]): any
-
Returns any
Returns ((obj: T) => D)