Function subrecordDescriptor
- subrecordDescriptor<T>(ctor): ((target: any, propertyKey: string) => any)
Parameters
- ctor: (new (rec: Record) => T)
Returns ((target: any, propertyKey: string) => any)
- (target, propertyKey): any
Parameters
- target: any
- propertyKey: string
Returns any
Decorator for sublist subrecord fields with the subrecord shape represented by T (which defines the properties you want on the subrecord)