Page Contents

Home > @loopback/service-proxy > serviceProxy

serviceProxy() function

Signature:

export declare function serviceProxy(dataSource: string | juggler.DataSource): (target: object, key: string, parameterIndex?: number) => void;

Parameters

Parameter Type Description
dataSource string | juggler.DataSource  

Returns:

(target: object, key: string, parameterIndex?: number) => void