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: Class<unknown>): void;

Parameters

Parameter Type Description
component Class<unknown> The component to mount services of

Returns:

void