LegacyMethodDecorator
ts
type LegacyMethodDecorator = (target, propertyKey, descriptor) => PropertyDescriptor | void;The shape trypatch returns under TypeScript's experimentalDecorators.
Parameters
target
object
propertyKey
string | symbol
descriptor
PropertyDescriptor
Returns
PropertyDescriptor | void