Page Contents
Home > @loopback/service-proxy > ServiceMixinDoc > mountComponentServices
ServiceMixinDoc.mountComponentServices() method
Get an instance of a component and mount all it’s services. This function is intended to be used internally by component()
Signature:
mountComponentServices(component: Constructor<unknown>): void;
Parameters
Parameter | Type | Description |
---|---|---|
component | Constructor<unknown> | The component to mount services of |
Returns:
void