<T extends ManagedObject>(target: T, propertyKey: any): void
Managed object property decorator: amend decorated property to turn it into a managed reference to any other managed object (or managed list, map, or reference instance). This allows observers to handle events emitted by the referenced object (see
The decorated property immediately becomes undefined when the referenced object is destroyed (see
Note: To learn more about components and managed objects, refer to this guide.