Page Contents
Home > @loopback/metadata > DecoratorFactory > getTarget
DecoratorFactory.getTarget() method
Get the optional decoration target of a given spec
Signature:
getTarget(spec: T): any;
Parameters
Parameter | Type | Description |
---|---|---|
spec | T | Metadata spec |
Returns:
any