Page Contents

Home > @loopback/service-proxy > ApplicationWithServices > component

ApplicationWithServices.component() method

Signature:

component(component: Class<{}>, name?: string): Binding;

Parameters

Parameter Type Description
component Class<{}>  
name string  

Returns:

Binding