Page Contents

Home > @loopback/core > asService

asService() function

Create a binding template for a service interface

Signature:

export declare function asService(serviceInterface: ServiceInterface): BindingTemplate;

Parameters

Parameter Type Description
serviceInterface ServiceInterface Service interface

Returns:

BindingTemplate