Page Contents

Home > @loopback/context > inspectTargetType

inspectTargetType() function

Inspect the target type for the injection to find out the corresponding JavaScript type

Signature:

export declare function inspectTargetType(injection: Readonly<Injection>): Function | undefined;

Parameters

Parameter Type Description
injection Readonly<Injection> Injection information

Returns:

Function | undefined